POC Decouple OPC from Hummingbird#39
Conversation
|
These changes will need to be kept in Hummingbird:
https://prestashop-jira.atlassian.net/browse/SPE-115
|
|
I'm pretty sure we can incorporate some of these changes to the core, so that we can limit the updates needed on the theme-level. I'll think about it :) |
Ensure that this method
I'm not a fan of using
There is no problem following what I've done and just using the entire
In short: OPC module takes full control over checkout rendering :) |
|
Thanks for your feedback. |
Why?
Currently, the One Page Checkout (OPC) module is tightly coupled with Hummingbird. To improve the ability to make changes quickly, we should decouple the module, allowing it to render the front-end independently.
This PR includes:
Native module should work best with native theme, but theme authors can easily override all the views, CSS and JS files available.
Known issues:
additionalCustomerFormFields, andadditionalCustomerAddressFields.scssmay be overkill, especially since theme-scoped variables may have different values. Solution? Themes should adjust the styling via theme-level overrides, we should make sure it looks and works well on Hummingbird