X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding additional product options to all products (https://forum.x-cart.com/showthread.php?t=46857)

autobulbs 04-09-2009 03:05 AM

Adding additional product options to all products
 
Hi,

I am trying to add something to allow customer to add optional customisation to their product but i have gotten stuck. :(

I created a file that contains all my php and javascript which displays custom text to be stitched onto the product with different fonts and colors.

I added a product option so that it is hidden when set to "No" and displayed when set to "Yes" + the extra cash for the customisation.

Now I need to pass this information to the cart / invoice. I have stretched the form in product.tpl to include the new file and have passed it to cart.php and displayed it when mode = add (around line 220) using echo $_POST[....] and die() to stop it so i can see, but i am not sure where to go from here.

Can anyone offer some advise?

I have been able to use product options to put in this module as individual options, but there are around 1000 products to add these to so my client protested.

autobulbs 04-09-2009 06:06 AM

Re: Adding additional product options to all products
 
This has now been solved


All times are GMT -8. The time now is 10:46 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.