Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2008
    Posts
    14
    Plugin Contributions
    0

    Default Product Listing - Buy Now and ...more info?

    I'm wondering if in the product listing page I can have both the "...more info" button as well as a "buy now" or an "add to cart" button.

    Thoughts?

    JK

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Product Listing - Buy Now and ...more info?

    Yes, this can be done, but there is a danger in here. Currently Zen Cart checks whether a product can be placed directly in the cart and if it can displays an add-to-cart button. If it can't, it displays more info instead.

    If you put in an add to cart button for all products then you risk products being placed in the cart without, for example, knowing the values of required attributes.

    So if Zen Cart is displaying more info buttons instead of add-to-carts to force users to the product info page to choose attributes, it would be dangerous to over-ride it.

    If on the other hand you want to add more info buttons to products that would otherwise display add-to-cart buttons, that would be safe, and you would find the code needed for that already in the add-to-cart section of the listing template.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Mar 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Product Listing - Buy Now and ...more info?

    At the moment, my Zen Cart just shows '...more info' but how can I change this to a 'more info' button?

    Thanks
    N

  4. #4
    Join Date
    Mar 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Product Listing - Buy Now and ...more info?

    S'alright. Got it!

  5. #5
    Join Date
    Jul 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Product Listing - Buy Now and ...more info?

    OK, but say that your products all have attributes that are not optional because they are all parts of a downloadable product. Meaning that the customer automatically receives all attributes (ie: files) attached to the product. How then would you override the code so that Buy Now buttons show up on all product listing pages?

    I hope that made sense.

    Thanks,
    Netta

  6. #6
    Join Date
    Jan 2009
    Posts
    14
    Plugin Contributions
    0

    Default Re: Product Listing - Buy Now and ...more info?

    Hi

    This issue is a big problem for me also. On my site people don't really buy products; they buy services, with no additional options. So a BuyNow button is really needed for me on the listing page.

    I would do things myself, but i think product listing page is a weak point of zencart regarding editability and customisation so i am in a need of a mod here.

    Thanks

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Product Listing - Buy Now and ...more info?

    Quote Originally Posted by qfreddie View Post
    ... i think product listing page is a weak point of zencart regarding editability and customisation ...
    I agree, though I doubt we'll much in the way of new mods in this area since the Zen Cart 2.0 announcement indicates that this area has been substantially overhauled for the next release.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #8
    Join Date
    Dec 2007
    Posts
    57
    Plugin Contributions
    0

    Default Re: Product Listing - Buy Now and ...more info?

    Quote Originally Posted by kuroi View Post

    If on the other hand you want to add more info buttons to products that would otherwise display add-to-cart buttons, that would be safe, and you would find the code needed for that already in the add-to-cart section of the listing template.
    where do I find it in the code?

    Thanks

  9. #9
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Product Listing - Buy Now and ...more info?

    includes/modules/product_listing.php. You'll find what you need (and more) between lines 112 and 149.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. v151 Removing the Buy Now/More Info buttons on Product Listing page
    By apriigem in forum Customization from the Admin
    Replies: 18
    Last Post: 22 Jun 2021, 06:57 AM
  2. Showing "More Info" & "Buy Now" on Product Listing
    By litepockets in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Jul 2009, 05:23 PM
  3. Add More Info Button after Buy Now on category listing
    By gothstone in forum General Questions
    Replies: 46
    Last Post: 22 Jan 2009, 09:52 PM
  4. Change Buy Now Button to More Info on Product Listing Page
    By prosam in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Jul 2008, 02:21 PM
  5. More Info Link and Buy Now Button
    By Toot4fun in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 30 Dec 2007, 05:57 AM

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