Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2010
    Location
    monaco
    Posts
    39
    Plugin Contributions
    0

    Default Add to cart button for virtual products

    Hello

    I would like to know how to be able to set a add to cart button on product listing that add to cart the product instead of bringing the customer to the page product.

    I have the button already on my products listing but no way to make it work as add to cart... any help would be much appreciated!

    Thanx in advance

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Add to cart button for virtual products

    admin > config > product listing > Display Product Price/Add to Cart > set order
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2010
    Location
    monaco
    Posts
    39
    Plugin Contributions
    0

    Default Re: Add to cart button for virtual products

    Quote Originally Posted by kobra View Post
    admin > config > product listing > Display Product Price/Add to Cart > set order
    thank you but i think i haven't explained well what i need..here is what i want: http://commercial-use-scraps.com/ind...e=products_new add to cart under preview on working for virtual products, this is what i have and it doesn't add to cart but bring to the product page:
    http://scrapsandthecity.com/store/in...6ced7921f6c996

    i wonder how i can get this to work

    thanx for your time :)

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Add to cart button for virtual products

    You currently have "Buy Now" button image
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Add to cart button for virtual products

    It looks like your virtual products are downloadable. If that's the case, what's happening is that the shopping cart's default buy-now action is redirecting the customer to the product_info page because the product has attributes.

    You might check out this link (http://www.zen-cart.com/showthread.p...142#post809142) where DrByte provided a collection of code changes that would allow a product with a SINGLE attribute to be added to the customer's cart from a product listing page.

  6. #6
    Join Date
    Dec 2010
    Location
    monaco
    Posts
    39
    Plugin Contributions
    0

    Default Re: Add to cart button for virtual products

    Thank you so much for this!!!! so if i understand well when i have 2 downloads or more it won't work, for all products as i have some that have many downloads.. i am going to check this post from drbyte right now! Thanx sooo much!


    Quote Originally Posted by lat9 View Post
    It looks like your virtual products are downloadable. If that's the case, what's happening is that the shopping cart's default buy-now action is redirecting the customer to the product_info page because the product has attributes.

    You might check out this link (http://www.zen-cart.com/showthread.p...142#post809142) where DrByte provided a collection of code changes that would allow a product with a SINGLE attribute to be added to the customer's cart from a product listing page.

  7. #7
    Join Date
    Dec 2010
    Location
    monaco
    Posts
    39
    Plugin Contributions
    0

    Default Re: Add to cart button for virtual products

    i did the whole procedure :) and it works super well!, but i can't remember how i put the add to cart button under those products as i would like to get this also for all products, as i have a box instead for the rest of my store instead of the add to cart button..

    Sample what i have and love here:
    http://scrapsandthecity.com/store/in...e=products_new

    and what i installed (by the way thank you DrByte as it's perfect for downloadable products!):
    http://scrapsandthecity.com/store/in...=index&cPath=7
    i want the add to cart button :)

    Thank you so much in advance for any help :)

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Add to cart button for virtual products

    I see "add" on your product listing pages and "add to cart" on your product info pages
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Dec 2010
    Location
    monaco
    Posts
    39
    Plugin Contributions
    0

    Default Re: Add to cart button for virtual products

    Quote Originally Posted by kobra View Post
    I see "add" on your product listing pages and "add to cart" on your product info pages
    Yes exact :) indeed i meant the buy now button, this is what i would like instead of the add and then add to cart... sorry for my english..

 

 

Similar Threads

  1. Replies: 13
    Last Post: 21 Feb 2013, 03:52 PM
  2. add to cart button on product listing (for products with attributes)
    By easy3dsource in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 10 Apr 2011, 06:08 PM
  3. Add to cart button for new products?
    By toxee in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 10 Mar 2011, 02:27 PM

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