Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    260
    Plugin Contributions
    0

    Default How do I prevent "Cash on Delivery" on dropship products?

    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?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,825
    Plugin Contributions
    0

    Default Re: How to prevent "Cash on Delivery" on dropship products?

    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.

  3. #3
    Join Date
    Nov 2007
    Posts
    260
    Plugin Contributions
    0

    Default Re: How to prevent "Cash on Delivery" on dropship products?

    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?

  4. #4
    Join Date
    Jun 2003
    Posts
    33,825
    Plugin Contributions
    0

    Default Re: How to prevent "Cash on Delivery" on dropship products?

    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.

  5. #5
    Join Date
    Nov 2007
    Posts
    260
    Plugin Contributions
    0

    Default Re: How to prevent "Cash on Delivery" on dropship products?

    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.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,673
    Plugin Contributions
    6

    Default Re: How do I prevent "Cash on Delivery" on dropship products?

    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 ...

 

 

Similar Threads

  1. cash on delivery fee
    By alarn in forum General Questions
    Replies: 9
    Last Post: 11 Oct 2007, 11:56 PM
  2. cash on delivery fee
    By alarn in forum General Questions
    Replies: 0
    Last Post: 29 Dec 2006, 05:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •