I have some dropship product and regular own stock products in store.
Is there a way to prevent users to order the drop ship products without "Cash on Delivery" feature, without removing the "Cash on Delivery" feature compleately?
I have some dropship product and regular own stock products in store.
Is there a way to prevent users to order the drop ship products without "Cash on Delivery" feature, without removing the "Cash on Delivery" feature compleately?
What happens if the customer orders one of each?
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Well my preference would be that when user goes to checkout Zen Cart disables "Cash on Delivery" feature only if atleast one Drop Ship product exist in the cart.
Is that possible?
Almost anything is possible. You will need some sort of a "flag" on the products that are dropship only and then you need to test the cart for products with that flag. Can you write php?
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Ou I know anything is possible well allmost anything.
I know php wery well.
I was wondering if ready made solution was existing, befor foing any code change on my own.
As Kim suggested, there would need to be some type of flag or indicator that can be checked for concerning the products to know what kinds are in the cart ...
Do you have a flag already, such as:
All Products in a specific Category
Model Number
Additional Field
etc. etc. etc.
With a flag, that can use a function in the shopping_cart.php class to test the cart content to know if 1 or more Products have the "flag" ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Bookmarks