Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2009
    Posts
    9
    Plugin Contributions
    0

    help question Custom Add To Cart Button

    hello all. I am having trouble trying to figure out an issue in ZC. Here's the background:

    I would like to open a shop using zencart, however I myself will not be selling/shipping the products or will I be doing drop shipping. Instead, I am trying to setup a shop that will display items that I would like to sell through affiliate sales. Thus I do not need a button to add to cart.

    What I would like to do is have that button open the product url in a new window. I know there is a function built in when setting up products that allows you to input the Products URL at the bottom of the page, for example: "For more information, please visit this product's webpage." I would like the "Add to Cart" Button to go to that product URL.

    How would I go about doing this? I am guessing that i would have to find that variable for the and change the coding for the "Add to Cart" button instead to go to that URL. Any help would be greatly appreciated.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Custom Add To Cart Button

    You could put the shop in Showcase mode (no sales in the cart), and redefine the "For more information, please visit this product's webpage." text to be an appropriate button image or text.

  3. #3
    Join Date
    Nov 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Custom Add To Cart Button

    that sounds like a good solution, where can i find the code to edit the text so I can convert it into a button image?

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Custom Add To Cart Button

    This thread has an example of defining an image in a constant:
    Images for the Nav links

 

 

Similar Threads

  1. v151 Add To Cart displaying alt text instead of add to cart button
    By AquaticAddiction in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Feb 2014, 07:58 PM
  2. v139h custom 'add selected items to cart' button
    By skylab001 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Apr 2012, 02:29 AM
  3. Custom Add to Cart Button on Categories Page
    By Innovations14 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Nov 2011, 07:34 PM
  4. Custom "Add To Cart" button not working with attributes in product listing
    By DrLivingston in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 7 Dec 2009, 10:09 PM
  5. Custom Add To Cart Button
    By BaltimoreRichGirls in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 18 Jan 2009, 11:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR