[Add to Cart] Button

This is an archive of old posting to the User Forum

[Add to Cart] Button

Postby Larry Bohen » Thu Jun 26, 2003 8:15 am

Whenever an audiobook is discontinued I do the following in my Acess product
database for the item, prior to uploading:

1. delete the [PURCHASE AUDIO BOOK] button in the "Add to Cart" field
2. enter "Transparent 1 X 1 Pixel.gif" (without quotations) in the "Add to
Cart Image" field

NOTE: Sometime ago I changed the wording in the "Add to Cart" field from
[Add to Cart] (which I believe is Shopsite's default) to [PURCHASE AUDIO
BOOK].

Once uploaded and published I find that the [Add to Cart] text button DOES
NOT disappear. Here's what the "Add to Cart Button" section of the back
office looks like:

1. radio button for [ Add to Cart] IS NOT selected
2. radio button for "Transparent 1 X 1 Pixel.gif" IS SELECTED

What do I need to do in my Access product database to get the [ Add to Cart]
text button to disappear?

What ends up happening is that a customer, who isn't reading our OUT OF
PUBLICATION notice, clicks on the [ Add to Cart] button and orders a $0
product.
Larry Bohen
 

Re: [Add to Cart] Button

Postby Keith Petty » Thu Jun 26, 2003 10:57 am

Larry,

Been there... done that!

Here is the solution.
Do not use the "Add to Cart Image" field.
Use the "TEXT" portion for the [ Add to Cart] or [PURCHASE AUDIO BOOK] - what
ever the text is set to.
Use an HTML comment tag in the text like this:
<!-- [ Add to Cart] -->
or
<!-- [PURCHASE AUDIO BOOK] -->
Do not have any spaces before the opening tag( <!-- ) or after the closing tag (
--> ).

The result is that no link will show up because ShopSite will place the text
into the page rather than an image tag and since the text is an HTML comment the
visitors browser won't display it.

I use the text field for all of my "Add to Cart" buttons and here is how I do
it.
<img src="http://www.-.com/-/media/-.gif" width=XX height=XX
hspace=X vspace=X border=X>
the X's represent the path, directory, file name and other values for the image
you use on your site.
This gives me more control over how the image shows up because I can override
the default "hspace=" and "vspace=" values that ShopSite sets on a "Add to Cart
Image"

Setting this up is easy.
Select ALL of your products, select "Power Edit", select the "Add to Cart
Button" field in layout, select the "Global - same change to all selected
products", select the "Text" radio button and place the <img.... > tag in the
text field.
Editing is easy... if I have eight or ten items which have become discontinued,
I simply select all of them from "Products Database" in the back office and then
"Power Edit" just like above. I add the html comment tags around the <img... >
tag like this:
<!-- <img... > -->
save and publish and your done.

One other thing I do is to turn off the "Display Price" so that not only is
there no "Add to Cart" button but there is no Price showing either.

Try this on just one product first so you understand what is happening but once
you get use to it you'll be glad you learned it.

Hope this helped!
Keith


Larry Bohen wrote:

Whenever an audiobook is discontinued I do the following in my Acess product
database for the item, prior to uploading:

1. delete the [PURCHASE AUDIO BOOK] button in the "Add to Cart" field
2. enter "Transparent 1 X 1 Pixel.gif" (without quotations) in the "Add to
Cart Image" field

NOTE: Sometime ago I changed the wording in the "Add to Cart" field from
[Add to Cart] (which I believe is Shopsite's default) to [PURCHASE AUDIO
BOOK].

Once uploaded and published I find that the [Add to Cart] text button DOES
NOT disappear. Here's what the "Add to Cart Button" section of the back
office looks like:

1. radio button for [ Add to Cart] IS NOT selected
2. radio button for "Transparent 1 X 1 Pixel.gif" IS SELECTED

What do I need to do in my Access product database to get the [ Add to Cart]
text button to disappear?

What ends up happening is that a customer, who isn't reading our OUT OF
PUBLICATION notice, clicks on the [ Add to Cart] button and orders a $0
product.
Keith Petty
 

Re: [Add to Cart] Button

Postby loren_d_c » Thu Jun 26, 2003 2:21 pm

In Pro there are several upload fields that affect the add to cart/view cart buttons
for each product (see
http://www.shopsite.com/help/6.3/en-US/ ... ields.html).

Add to Cart Button <-- this is the text setting
Use Add to Cart Image? <--this is the radio button
Add to Cart Image <-- this is the image setting

View Cart Button
Use View Cart Image?
View Cart Image

If any of these values are not provided, defaults are used. The default settings are
in Preferences -> Store Text -> Store.

So if you want to use the image method for a particular product, then make sure that
either the 'Use Add to Cart Iimage?' field is set to 1 for that record in the upload
file, or don't upload this field and make sure your default in the Store Text area
is to use the image. If you want to use the text method, as Keith described, make
sure 'Use Add to Cart Image?' is 0, or blank, or don't upload the field and make
sure your default is to use the text in the Store Text area.

Also note that if you are using the image method you don't necessarily need to
provide an invisible gif images (unless perhaps you need it to have correct spacing
or something), you can just use 'none' (minus the quotes) and there will be no add
to cart button, period. At least not in newer versions of ShopSite, not sure how far
back this is the case. And this also assumes you are using one of the built-in
product templates, whether this works with a custom product template or not would be
up to the custom template writer.

-Loren



Keith Petty wrote:

Larry,

Been there... done that!

Here is the solution.
Do not use the "Add to Cart Image" field.
Use the "TEXT" portion for the [ Add to Cart] or [PURCHASE AUDIO BOOK] - what
ever the text is set to.
Use an HTML comment tag in the text like this:
!-- [ Add to Cart] --
or
!-- [PURCHASE AUDIO BOOK] --
Do not have any spaces before the opening tag( <!-- ) or after the closing tag (
--> ).

The result is that no link will show up because ShopSite will place the text
into the page rather than an image tag and since the text is an HTML comment the
visitors browser won't display it.

I use the text field for all of my "Add to Cart" buttons and here is how I do
it.
img src="http://www.-.com/-/media/-.gif" width=XX height=XX
hspace=X vspace=X border=X
the X's represent the path, directory, file name and other values for the image
you use on your site.
This gives me more control over how the image shows up because I can override
the default "hspace=" and "vspace=" values that ShopSite sets on a "Add to Cart
Image"

Setting this up is easy.
Select ALL of your products, select "Power Edit", select the "Add to Cart
Button" field in layout, select the "Global - same change to all selected
products", select the "Text" radio button and place the <img.... > tag in the
text field.
Editing is easy... if I have eight or ten items which have become discontinued,
I simply select all of them from "Products Database" in the back office and then
"Power Edit" just like above. I add the html comment tags around the <img...
tag like this:
!-- <img... > --
save and publish and your done.

One other thing I do is to turn off the "Display Price" so that not only is
there no "Add to Cart" button but there is no Price showing either.

Try this on just one product first so you understand what is happening but once
you get use to it you'll be glad you learned it.

Hope this helped!
Keith

Larry Bohen wrote:

Whenever an audiobook is discontinued I do the following in my Acess product
database for the item, prior to uploading:

1. delete the [PURCHASE AUDIO BOOK] button in the "Add to Cart" field
2. enter "Transparent 1 X 1 Pixel.gif" (without quotations) in the "Add to
Cart Image" field

NOTE: Sometime ago I changed the wording in the "Add to Cart" field from
[Add to Cart] (which I believe is Shopsite's default) to [PURCHASE AUDIO
BOOK].

Once uploaded and published I find that the [Add to Cart] text button DOES
NOT disappear. Here's what the "Add to Cart Button" section of the back
office looks like:

1. radio button for [ Add to Cart] IS NOT selected
2. radio button for "Transparent 1 X 1 Pixel.gif" IS SELECTED

What do I need to do in my Access product database to get the [ Add to Cart]
text button to disappear?

What ends up happening is that a customer, who isn't reading our OUT OF
PUBLICATION notice, clicks on the [ Add to Cart] button and orders a $0
product.
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 67 guests