Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2011
    Posts
    8
    Plugin Contributions
    0

    Default Model number under Add to cart button on product listing

    Hello,

    At first I'd like to thank you guys for all your great work - I found many useful informations here and solved many problems thanks to this forum.

    However I couldn't find any instructions on how to edit product listing table.

    What I want to do is put model number in product listing, BUT not like it can be done in admin panel.

    I want to put it directly under 'Add to cart' button in the same table cell, not in a separate column.

    Hope you can help me, thanks in advance

    Zen cart version: 1.3.8.a
    URL: http://biografia24.pl

  2. #2
    Join Date
    Feb 2011
    Posts
    8
    Plugin Contributions
    0

    Default Re: Model number under Add to cart button on product listing

    Anyone?

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Model number under Add to cart button on product listing

    You can customize the products_listing.php modules using your templates and overrides and add something like:
    Code:
            $lc_text .= '<br />' . zen_products_lookup($listing->fields['products_id'], 'products_model');
    beneath the last $lc_text line for the:
    Code:
            case 'PRODUCT_LIST_PRICE':
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Feb 2011
    Posts
    8
    Plugin Contributions
    0

    Default Re: Model number under Add to cart button on product listing

    thank you very much, it works!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Model number under Add to cart button on product listing

    You are most welcome ... thanks for the update that this is working for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v139f How to add "Model" infront of my model number above my product pictures?
    By missymissy in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 15 Apr 2014, 06:44 AM
  2. No Add-To-Cart Button on Product Listing Page
    By carol2848 in forum Basic Configuration
    Replies: 12
    Last Post: 23 May 2013, 01:49 PM
  3. Add to Cart Button under Product image
    By fredthungula in forum General Questions
    Replies: 2
    Last Post: 10 Nov 2010, 11:36 AM
  4. Add an add to cart button under each product quantity on the category page
    By buxton1 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Apr 2010, 06:37 PM
  5. Replies: 2
    Last Post: 9 Jan 2009, 12:33 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