Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2005
    Location
    Scotland
    Posts
    76
    Plugin Contributions
    0

    Default Add to Zen Cart Cart from main site

    Hi,

    is it possible to have a link on a product on my main site that when clicked would add the item to the zen cart shop cart and take you to the checkout pages

    Thanks, Martin

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Add to Zen Cart Cart from main site

    If you mean by "main site" = page outside zencart, then no.
    But you could link to product of your choice, so goes to
    that product in your zencart install.
    Reason: Add to cart is done via sessions in zencart, so if you
    are on outside page, sessions are not called.

  3. #3
    Join Date
    Mar 2005
    Location
    Scotland
    Posts
    76
    Plugin Contributions
    0

    Default Re: Add to Zen Cart Cart from main site

    Thanks for the quick response. What would be the easiest way to link it to the product in the zencart install

    Thanks Martin

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Add to Zen Cart Cart from main site

    easiest way to link it to the product in the zencart install
    Well as don't have url of your zencart site, rather difficult
    to quote code, plus what sort of link do you want.. text/image?

  5. #5
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Add to Zen Cart Cart from main site

    Call up the desired product in your browser.

    In the address bar of your browser will be the http PATH to that page:-

    http://www.yourwebsite.com/index.php...&products_id=4

    That's your hyperlink...

  6. #6
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Add to Zen Cart Cart from main site

    If you just require text link then fairestcape's
    link is correct.. add that code and associate
    to an image if required.

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Add to Zen Cart Cart from main site

    Just don't include the zen id in the link you use. You can chop that off the end of the url.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 

Similar Threads

  1. Add To Cart From Outside Zen Cart
    By keitbt in forum General Questions
    Replies: 2
    Last Post: 3 Jun 2010, 06:56 PM
  2. Add to cart button from my main domain name to my shopping cart
    By uwinme in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 7 Mar 2010, 01:15 AM
  3. general question: Add to cart from outside zen cart?
    By warpdesign in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 May 2007, 07:01 AM
  4. Stop site from jumping to cart after Add to Cart
    By ndg_uk in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Mar 2007, 11:02 PM
  5. Is it possible to add quantities left from zen to main site?
    By bittyboy in forum General Questions
    Replies: 3
    Last Post: 22 Oct 2006, 09:53 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