NicolasIT Posted September 4, 2017 Share Posted September 4, 2017 (edited) Hey there, Prestashop > 1.7 I've created a custom shipping that needed a custom status order; This shipping will be sent to che customer after we call him so in the order page we need this status order to be shown for example after to "waiting for bankwire payment" or "payed". Becouse this phone call it's something we have to do before shipping and it should appear automatically in order lsit if the customer choose this shipping method: Example of this shipping method: we call the customer when he wants his products 2 weeks later or when he'd like to receive it. thanks for your help or ideas; NicholasIT edit: long story short; maybe they should split about payment order status and shipping order status. or i don't get their idea? Edited September 4, 2017 by NicolasIT (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted September 5, 2017 Share Posted September 5, 2017 Clarify at what point do you want this new custom order status to be added? Do you want to add it manually to the order, or do you want it to be added automatically? If automatically, then describe exactly when it should be added (after what action or event has occurred?) Link to comment Share on other sites More sharing options...
NicolasIT Posted September 5, 2017 Author Share Posted September 5, 2017 (edited) If you choose "bankwire payment" i see on Backoffice order page the status "waiting for backwire payment" automatically. Otherwise If you choose my custom payment i'd like to see it added on order page my custom status "waiting for custom payment" [i already made the custom payment and the status order but can't add it automatically] i opened a new improvement ticket on forge about extending this function to add more than one status [i see on DB you can just add one status per order, to keep it normalized] any ideas? thanks and cheers NicholasIT Edited September 5, 2017 by NicolasIT (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted September 5, 2017 Share Posted September 5, 2017 If you choose "bankwire payment" i see on Backoffice order page the status "waiting for backwire payment" automatically. Is that what you want to see? Otherwise If you choose my custom payment i'd like to see it added on order page my custom status "waiting for custom payment" [i already made the custom payment and the status order but can't add it automatically] then you need to edit your custom payment module so that when validateOrder is executed in your module, that you should use the correct order status. I believe the order status is the second parameter i opened a new improvement ticket on forge about extending this function to add more than one status [i see on DB you can just add one status per order, to keep it normalized] An order can have many different order states, but only one can be current Link to comment Share on other sites More sharing options...
NicolasIT Posted September 6, 2017 Author Share Posted September 6, 2017 (edited) Is that what you want to see?This what already happens and i'd like to happen with my custom shipping then you need to edit your custom payment module so that when validateOrder is executed in your module, that you should use the correct order status. I believe the order status is the second parameterIt's a custom shipping there's no module i just created the courier and i'd like to see its order status on Order resume page An order can have many different order states, but only one can be currentthe point is that i'm trying to show more than one order status in some kind of orders when they'r placed, which one is current doesn't matter. resume: if there's a custom shipping i'd like to show two order status [waiting for payment (<---this is an example) AND watch out custom shipping] which one is the current i don't care (: Thanks for your attention, NicholasIT edit: i've been hiding a previous reply by me becouse i wrote something confusing Edited September 6, 2017 by NicolasIT (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted September 6, 2017 Share Posted September 6, 2017 Prestashop is not designed to allow multiple order status. you can customize the bankwire module so that if one of your custom carriers is used, then the module will use your custom order status instead of the default one, and that really should be enough Link to comment Share on other sites More sharing options...
NicolasIT Posted September 6, 2017 Author Share Posted September 6, 2017 It's an issue about shipping, not the bankwire module or some payment module it was just an example. I needed a new status order to be shawn on Order resume selecting one specific custom carrier. 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