Closed torvista closed 4 months ago
Would it help if I updated this to match the core file as much as possible?
Would it help if I updated this to match the core file as much as possible?
No.
Yeah, the ${'postcode'}
is the same as $postcode
... which is what I'll change it to.
My response above is that I find the PHP/HTML indentation in most of the core files to be indecipherable so I've got the PHP indented separately from the HTML. It helps (me, anyway) to ensure that the various HTML start/end tags line up as well as the PHP conditionals' curly-braces.
https://github.com/lat9/ZCA-Bootstrap-Template/blob/b11499fe7bee2d58cd9244a63031a4401092c7ae/includes/templates/bootstrap/templates/tpl_modules_shipping_estimator.php#L85
I'm not understanding this construct:
${'postcode'}
which is not in current ZC.
And this is so different to the core version, it's quite a comparison headache.