| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
To evaluate ExtraField in cart.php | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
X-Cart 4.1.9 PHP 4.4.1 MySQL 4.0.27 Linux Apache |
|||||||
#2
|
|||||||
|
|||||||
![]() 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
__________________
X-Cart 4.1.9 PHP 4.4.1 MySQL 4.0.27 Linux Apache |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|