marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
How to remove the one color message?

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « How to remove the one color message? »
Welcome, Guest. Please Login or Register.
12/14/17 at 22:49:57
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   How to remove the one color message?
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: How to remove the one color message?  (Read 728 times)
RenFromPenn
Silver Dragon
***

Posts: 46



Go Scots!
   

How to remove the one color message?
« on: 10/11/08 at 13:19:50 »
Reply with quote Modify message

This message is being displayed in my store because I have added the colors separately. How do I get it and the asterisk next to color choice to go away?

* The shopkeeper has chosen to only offer this design in one color. You may visit their store to see if it's available on additional products.
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: How to remove the one color message?
« Reply #1 on: 10/11/08 at 15:22:57 »
Reply with quote Modify message

Use the cpshop.cgi.images file.  I haven't seen the exact HTML being used for that message, but it would probably be something like:

*||||* The shopkeeper has chosen to only offer this design in one color. You may visit their store to see if it's available on additional products.||||<!--message removed-->

Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
RenFromPenn
Silver Dragon
***

Posts: 46



Go Scots!
   

Re: How to remove the one color message?
« Reply #2 on: 10/11/08 at 17:43:28 »
Reply with quote Modify message

That didn't work at all. When I placed that in the cpshop.cgi.images file and tried to visit my domain I got this message:

Software error:

Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE  The shopkeeper has chosen to only offer this design in one color. You may visit their store to see if it's available on additional products./ at cpdata.lib line 730.
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: How to remove the one color message?
« Reply #3 on: 10/12/08 at 00:49:22 »
Reply with quote Modify message

First of all, I'd need to see the actual HTML in the page to know what to remove.

Otherwise, it probably needs a \:

*||||\* The shopkeeper has chosen to only offer this design in one color. You may visit their store to see if it's available on additional products.||||<!--message removed-->
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
RenFromPenn
Silver Dragon
***

Posts: 46



Go Scots!
   

Re: How to remove the one color message?
« Reply #4 on: 10/12/08 at 10:29:08 »
Reply with quote Modify message

Okay, that got rid of the message at the bottom, but I still have an asterisk next to the color selection box. How do we do away with that?

Also, why is it that One Horse Shy has been able to customize the product page by doing things like removing the color selection box and just displaying the color name, but I don't see anywhere in your instructions on how to do anything with that page?
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: How to remove the one color message?
« Reply #5 on: 10/12/08 at 11:01:18 »
Reply with quote Modify message

One Horse Shy isn't using cpshop exclusively.  She's using several pieces of software, plus a number of hand-coded pages.

And to remove the asterisk next to the color box, look at the HTML, and follow the same format using the cpshop.cgi.images file.

*||||HTML TO REMOVE||||HTML TO INSERT

Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
RenFromPenn
Silver Dragon
***

Posts: 46



Go Scots!
   

Re: How to remove the one color message?
« Reply #6 on: 10/12/08 at 13:24:16 »
Reply with quote Modify message

I entered *||||\* ||||<!--message removed-->

but the * is still there.
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: How to remove the one color message?
« Reply #7 on: 10/12/08 at 16:25:44 »
Reply with quote Modify message

Can you PM me the URL for an example page?
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
RenFromPenn
Silver Dragon
***

Posts: 46



Go Scots!
   

Re: How to remove the one color message?
« Reply #8 on: 10/12/08 at 16:54:41 »
Reply with quote Modify message

No problem. I just sent it on its way.
Logged
RenFromPenn
Silver Dragon
***

Posts: 46



Go Scots!
   

Re: How to remove the one color message?
« Reply #9 on: 10/12/08 at 17:18:48 »
Reply with quote Modify message

Marty, I fiddled around some more and I don't know what I did wrong the first time, but the asterisk is now gone.
Logged
RenFromPenn
Silver Dragon
***

Posts: 46



Go Scots!
   

Re: How to remove the one color message?
« Reply #10 on: 10/12/08 at 19:49:14 »
Reply with quote Modify message

Well, the saga continues. I got the asterisk to disappear, but by doing that it kills the "View Larger" pop-up. I did, however, manage to fix it. For anyone who would like to remove the asterisk without disabling the pop-up here is what you have to add to the cpshop.cgi.images file:

*||||\*</div>||||</div>
« Last Edit: 10/12/08 at 20:12:27 by RenFromPenn » Logged
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright © 2000-2001, X-Null. All Rights Reserved.