Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Links to Shopping Cart...


joshcole

Recommended Posts

Is there a way to integrate a custom graphic instead of using the add to cart button that installs by default, having a custom image that I can link to the shopping cart so that if I click the purchase now button I have created it adds the item to the shopping cart? I have tried this syntax already and it takes me to an empty cart. It doesn't input the product.

 

I like image to "http://www.mysite.net/catalog/product_info.php?products_id=30&action=add_product"

Link to comment
Share on other sites

Is there a way to integrate a custom graphic instead of using the add to cart button that installs by default, having a custom image that I can link to the shopping cart so that if I click the purchase now button I have created it adds the item to the shopping cart? I have tried this syntax already and it takes me to an empty cart. It doesn't input the product.

 

I like image to "http://www.mysite.net/catalog/product_info.php?products_id=30&action=add_product"

 

The "Add To Cart" button IS A CUSTOM GRAPHIC.

 

Simply get the image you want and name it the same as the default "Add To Cart" graphic which should be:

 

"button_in_cart.gif"

 

THIS IMAGE IS LOCATED IN:

 

includes/languages/english/images/buttons/button_in_cart.gif

 

THIS IS ASSUMING YOU ARE USING THE ENGLISH LANGUAGE OF COURSE!

:)

Hope this helps!

 

Steve

Link to comment
Share on other sites

The "Add To Cart" button IS A CUSTOM GRAPHIC.

 

Simply get the image you want and name it the same as the default "Add To Cart" graphic which should be:

 

"button_in_cart.gif"

 

THIS IMAGE IS LOCATED IN:

 

includes/languages/english/images/buttons/button_in_cart.gif

 

THIS IS ASSUMING YOU ARE USING THE ENGLISH LANGUAGE OF COURSE!

:)

Hope this helps!

 

Steve

 

That does help thank you. Where can I go to edit the code pertaining to the button?

Link to comment
Share on other sites

I am adding images to the product pages and I am just trying to figure out if I can use that image to add a product to shopping cart via a url?

 

So if I were to add newbutton.gif to the product page and link it to:

http://www.mysite.net/catalog/product_info...ion=add_product

Should that work? When I do that, it does take me to the shopping care but then says the cart is empty. It does not add the product. Please help if you can.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...