Closed bobbingwide closed 9 months ago
Test with sample products
Brand | URL | Expected result |
---|---|---|
Halls | https://gardenvista.co.uk/store/halls-wall-garden-lean-to-4-x-2-ft-green-greenhouse/ | Installation before |
Passmores | https://gardenvista.co.uk/store/passmores-log-store-3-x-6/ | Installation after |
Regency | https://gardenvista.co.uk/store/regency-security-apex-shed-4-x-4/ | Installation after |
Shedlands | https://gardenvista.co.uk/store/shedlans-supreme-pent-shed-2/ | Installation before |
Delivered in v1.8.0
It seems logical that if you can't deliver a product to a particular location then you can't install it either. So it makes some sense to display the Installation section after the post code entry.
Passmores and Regency are the two brands which charge for delivery to bands 1 to 4 and don't support delivery to band 0 ( elsewhere ) See https://github.com/bobbingwide/vgc/issues/59#issuecomment-1790528030 These have been selected as the brands for which the Installation section should appear after the post code entry.
Requirement
Proposed solution
If any rate for bands 1 to 4 is non null then display the installation section afterward the post code section