![]() |
passing an extra field to the checkout cart
Okey Dokey.... I have added a download link for many of my e products by using the Extra Fields for that product. I have followed X-Cart's instructions in the manual that relate to setting up a download link to audio samples. This works great when you are viewing the products.
Now for step 2: I want to pass this link into the cart, so when the customer goes to "view cart" they see all the products they picked up and the links that I have setup in the Extra Field mentioned above. Any advice or assistance in getting this done would be greatly appreciated. Thanks in advance, Hash. |
you would probably need to add the param field that you used to the cart.tpl
|
Shan,
Thanks for the tip, but I am not sure if I am moving in the right direction. I am assuming that I need to add this: Code:
{if $active_modules.Extra_Fields ne ""} I would like to have it display my 2nd Param - {product.param01} under the product description for each product. Can you give me another hint? Please? :) Thanks again! |
got it!!!
I found that it is not necessary to do the include of the Extra Field module itself... all that is needed is to add the specific Param field to the cart.tpl file. So I added this: Code:
{$products[product].param01} directly under the product description like this: Code:
This works great and gives me the functionality of a download cart. I hope that someone else can find this useful also. Cheers. |
All times are GMT -8. The time now is 10:07 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.