losdelsolo Posted December 19, 2015 Share Posted December 19, 2015 Hi to all, I try to find a clean code hack to bypass the minimal quantity check (set to 5 for certain products) when a new order is imported from ebay via the cron task of the free ebay marketplace module from e202. On our website we use a minimal quantity of 5 products but on ebay we use no minimal quantity for the same product. When the crontask of the ebay module try to import one ebay order with a 1 product qty then the system check the minimal quantity attribute before the prestashop order creation. So, if minimal_quantity > import order product quantity then the ebay order import fail and send a minimal qty warning email to us. I try to find a hack to bypass the minimal quantity like (vb6 style): If minimal_quantity > ebay order import qty and order_paiement_method = ebay_paiement_method then the order is created and imported in our website else the standard minimum quantity check code end if Someone can drive me to do this in the state of the art ? Waiting for your answer, Best regards, Sam Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now