Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How to add two add to cart buttons on one product listing. See example below..

How to add two add to cart buttons on one product listing. See example below..

Started by completespray on 12 Jun 2014, 10:24 PM · Views: 950

Results 1 to 2 of 2
12 Jun 2014, 10:24 PM
#1
completespray avatar

completespray

New Zenner

Join Date:
Jan 2010
Location:
Gilbert, AZ
Posts:
43
Plugin Contributions:
0

Post #1 by completespray

http://www.paintsprayerslv.com/Graco/umax%20ii%20large/umax%20II%202nd_series%20parts.htm

I would like to do something like this, with offering an aftermarket option under each OEM product. But not sure it is possible with my template?

Here is my website
https://www.completespray.com

Thanks for any help:)

Keri

12 Jun 2014, 11:37 PM
#2
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,832
Plugin Contributions:
29

Post #2 by balihr

This has nothing to do with a template - it's possible with any template, but would require some custom coding. I haven't seen anything ready made to serve the purpose, although it's not such a complex task.

First, you'd need to have both the OEM product and the aftermarket product in your catalog (as two different products). Next, you need something to make those products related - possibly any of the cross sell modules. Then, you'd create a new function that would be triggered on the product_listing page and select the related AM product and all of the relevant data and generate the "buy now" button.

For some reason, I have a feeling that making it look good in the frontend would be more work than actually writing the script... :smile:

My site - Pro ZC Help
My portfolio | My plugins