- 5
Hello Nop-Templates Support,
We found an issue with conditional checkout attributes in Nop One Page Checkout (RealOnePageCheckout), from Nop Ultimate Plugin Collection 5.0.14.77, running on nopCommerce 5.0.1 with the Pacific theme.
Steps to reproduce
1.Create a radio-list checkout attribute named Invoice Format with two options: Two-part Invoice and Three-part Invoice. Set Two-part Invoice as the only preselected option.
2.Create a text checkout attribute named Tax ID and enable its condition so it appears only when Invoice Format = Three-part Invoice.
3.Start with a fresh cart containing a product and open /order/checkout. Do not change the invoice selection yet.
4.Select Three-part Invoice, then switch back to Two-part Invoice.
Actual result: Tax ID is visible on first load even though Two-part Invoice is selected. It disappears after switching to Three-part Invoice and then back to Two-part Invoice.
Expected result: Tax ID is hidden on first load when Two-part Invoice is selected. It appears when Three-part Invoice is selected and is hidden again when switching back.
Since the condition works after changing the selection, could you check whether the initial GetCheckoutData response applies the configured condition to the effective invoice selection, including the preselected default? In particular, please check customProperties.enabled for the Tax ID attribute in orderSummary.checkoutAttributes.
Could you confirm whether this is a known issue and provide an official patch or the version that fixes it? We have a temporary Pacific view workaround, but would prefer a fix in the plugin itself.
Thank you.
We found an issue with conditional checkout attributes in Nop One Page Checkout (RealOnePageCheckout), from Nop Ultimate Plugin Collection 5.0.14.77, running on nopCommerce 5.0.1 with the Pacific theme.
Steps to reproduce
1.Create a radio-list checkout attribute named Invoice Format with two options: Two-part Invoice and Three-part Invoice. Set Two-part Invoice as the only preselected option.
2.Create a text checkout attribute named Tax ID and enable its condition so it appears only when Invoice Format = Three-part Invoice.
3.Start with a fresh cart containing a product and open /order/checkout. Do not change the invoice selection yet.
4.Select Three-part Invoice, then switch back to Two-part Invoice.
Actual result: Tax ID is visible on first load even though Two-part Invoice is selected. It disappears after switching to Three-part Invoice and then back to Two-part Invoice.
Expected result: Tax ID is hidden on first load when Two-part Invoice is selected. It appears when Three-part Invoice is selected and is hidden again when switching back.
Since the condition works after changing the selection, could you check whether the initial GetCheckoutData response applies the configured condition to the effective invoice selection, including the preselected default? In particular, please check customProperties.enabled for the Tax ID attribute in orderSummary.checkoutAttributes.
Could you confirm whether this is a known issue and provide an official patch or the version that fixes it? We have a temporary Pacific view workaround, but would prefer a fix in the plugin itself.
Thank you.