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)
-   -   To evaluate ExtraField in cart.php (https://forum.x-cart.com/showthread.php?t=35280)

gkeraunen 11-08-2007 05:57 AM

To evaluate ExtraField in cart.php
 
I need to evaluate a a specific extra field for a product passed into to cart.php. Any pointers?

More detail? I've managed to set the extra field AllowDropShip="Y" for certain products so that when inventory is zero, the"Buy Now" and "Add to Cart" still appears. The only problem is that when such products are sent to cart.php, and unlimitedProducts (inventory control) is set to "N" , cart.php will not add the product. I believe I need to check for extra_field AllowDropShip="Y" in cart.php and override $unlimitedProducts in order to get the product to show up in the cart.

I anticipate that this will be a cool mod to allow drop ship orders. Happy to share if we can finish this last step.

-Michael

gkeraunen 11-08-2007 07:39 PM

Re: To evaluate ExtraField in cart.php
 
The further I got in this, the more I realized the issue is in figuring out the logic of cart.php and tweaking it to evaluate an extra field and then allow a zero-inventory product to be added to the cart.

I've burned many hours trying and am temporarily giving up on being able to open the store until this is done (Grrrr). So... I posted in "requests for services" if anyone wants to take a stab at this: http://forum.x-cart.com/showthread.php?p=192468#post192468

-Michael


All times are GMT -8. The time now is 03:08 AM.

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