- Issue created by @danrod
- 🇨🇦Canada danrod Ottawa
Any luck with this @kul.pratap ? Would you like some help?
- 🇮🇳India anweshas Kolkata
While working on the first and last points of the requirement (adding space between the currency code and the number, and aligning the "Total" column to the right), I found that both can be addressed by modifying the existing commerce_cart_form View.
However, this View is not part of the sshop module configuration. It is provided by the Commerce module (specifically its Cart submodule). This means:
- Any changes made directly to this View will be stored in the Commerce module's config, not in the sshop module.
- As a result, these adjustments wouldn’t be tracked or exported as part of the sshop configuration.
- Maintaining them inside sshop would require either overriding the View in code or providing a config override in the module.
We’ll need to decide whether to:
- Implement these adjustments via a View override in sshop, or
- Handle them via theme/template/JS changes so they live entirely within sshop and avoid touching the Commerce config.
- 🇮🇳India anweshas Kolkata
While working on the first and last points of the requirement (adding space between the currency code and the number, and aligning the "Total" column to the right), I found that both can be addressed by modifying the existing commerce_cart_form View.
However, this View is not part of the sshop module configuration. It is provided by the Commerce module (specifically its Cart submodule). This means:
- Any changes made directly to this View will be stored in the Commerce module's config, not in the sshop module.
- As a result, these adjustments wouldn’t be tracked or exported as part of the sshop configuration.
- Maintaining them inside sshop would require either overriding the View in code or providing a config override in the module.
We’ll need to decide whether to:
- Implement these adjustments via a View override in sshop, or
- Handle them via theme/template/JS changes so they live entirely within sshop and avoid touching the Commerce config.