Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Dec 2007
    Location
    South, UK
    Posts
    66
    Plugin Contributions
    0

    Default Re: Problem adding products to cart from product listing page

    It's the older version - https://www.zen-cart.com/downloads.php?do=file&id=1637

    The one you linked to is for products with a single default attribute only, not attribute options.

  2. #12
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Problem adding products to cart from product listing page

    Quote Originally Posted by teaj View Post
    It's the older version - https://www.zen-cart.com/downloads.php?do=file&id=1637

    The one you linked to is for products with a single default attribute only, not attribute options.
    Does appear to be a shame that there are no other threads from the original author of the older version that directly/easily relate to the older plugin... I'm thinking though that perhaps there is a little of both plugins that can be put together to get the expected/desired state/system response... Don't know, haven't used either, just seems like they both offer a piece of what is desired/needed, one to get the options displayed, the other to handle downstream processing possibly... *shrug*
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #13
    Join Date
    Dec 2007
    Location
    South, UK
    Posts
    66
    Plugin Contributions
    0

    Default Re: Problem adding products to cart from product listing page

    Good thinking! Thanks, will report back if I can work something out. Cheers

  4. #14
    Join Date
    Dec 2007
    Location
    South, UK
    Posts
    66
    Plugin Contributions
    0

    Default Re: Problem adding products to cart from product listing page

    I seem to have achieved the function I'm looking for, thanks to this post here.

    I changed this part:

    zen_href_link(zen_get_info_page($listing->fields['products_id']), zen_get_all_get_params(array('action')) .

    to

    zen_href_link(FILENAME_DEFAULT, zen_get_all_get_params(array('action')) .

    in modules/product_listing.php

    ...and it appears to be working now! From search results you are taken to the home page rather than back to the search results, but at least the Product Listing page seems to be ok :)

    Now I just need to work out how to make the 'Product added to cart' success message appear underneath the product that was added to cart... hopefully that should be possible?

    Thanks

  5. #15
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Problem adding products to cart from product listing page

    There is the AJAX Add to Cart module for Zen Cart v1.5.3 that might do what you want, or help you get there.

  6. #16
    Join Date
    Dec 2007
    Location
    South, UK
    Posts
    66
    Plugin Contributions
    0

    Default Re: Problem adding products to cart from product listing page

    Thanks, I do have that installed and working on the Product Info page, just not sure how to use it on the Product Listing pages. Will keep looking into it, hopefully will work it out! Cheers

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v154 Problems when adding to cart from product listing page
    By TinaS in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 22 Jan 2015, 01:37 AM
  2. Replies: 16
    Last Post: 13 Jan 2013, 06:10 PM
  3. Question about adding products to my cart from the shopping cart page
    By audleman in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 31 Aug 2010, 07:37 AM
  4. Products with Attributes / Add to Cart buttons on the Product Listing page?
    By Pink in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Jun 2010, 10:04 PM
  5. Adding Product to cart from external page
    By Cylants in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 12 Jun 2009, 05:07 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