Forums / General Questions / How do we link a PDF catalogue to add products to cart using products_model?

How do we link a PDF catalogue to add products to cart using products_model?

Views: 702

Results 1 to 2 of 2
6 Jan 2013, 5:24 AM
#1
wickiton avatar

wickiton

New Zenner

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

How do we link a PDF catalogue to add products to cart using products_model?

We need to create links in our (rather large) PDF catalogue to add the desired product directly to the customer's cart.

We have been able to achieve the desired result by using this url string:
http://mydomain.com/index.php?main_page=index&action=buy_now&products_id=295168

The problem is that we need to be able to call it from products_model instead of products_id and can't seem to figure out a way to make that work.

Any ideas would be most appreciated.

10 Jan 2013, 6:59 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How do we link a PDF catalogue to add products to cart using products_model?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.