Forums / Setting Up Categories, Products, Attributes / Model number under Add to cart button on product listing

Model number under Add to cart button on product listing

Views: 1,190

Results 1 to 5 of 5
26 Feb 2011, 12:33 PM
#1
yan111 avatar

yan111

New Zenner

Join Date:
Feb 2011
Posts:
8
Plugin Contributions:
0

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

4 Mar 2011, 2:00 PM
#2
yan111 avatar

yan111

New Zenner

Join Date:
Feb 2011
Posts:
8
Plugin Contributions:
0

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

Anyone?

4 Mar 2011, 6:03 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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:

        $lc_text .= '<br />' . zen_products_lookup($listing->fields['products_id'], 'products_model');

beneath the last $lc_text line for the:

        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!

6 Mar 2011, 1:22 PM
#4
yan111 avatar

yan111

New Zenner

Join Date:
Feb 2011
Posts:
8
Plugin Contributions:
0

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

thank you very much, it works!

6 Mar 2011, 2:35 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!