Customizing CoreCommerce checkout HTML
PermalinkHowever, I'm finding this not at all to be the case with the CoreCommerce plugin. E.g., I am trying to change the HTML on the billing page of the checkout process from a TABLE with a bunch of unnecessary DIVs to a more semantic set of LABELs and INPUTs and am running into serious roadblocks.
There appears to be multiple ways different form fields are output. E.g., the email field gets spat out one way and first name, last name, and phone number get spat out another. Then, for the address attributes there is yet another format with enclosing DIVs and such.
I would prefer to change this in a clean way that would allow me to upgrade without fear of overwriting customized files in the package (and even in core!) itself, but don't see a way to do that.
Even hacking directly on the package, I'm not seeing how some of the fields are generated, so I can't alter the output.
I was hoping to finish this site this weekend and didn't expect to run into this kind of issue based on my other, mostly positive, experiences with Concrete5. I have to say I'm a bit disappointed.
Any suggestions are welcome.
a few thoughts:
1) Yes check out custom templates if you haven't already, they let you customize a presentation layer from the data object however you want.
2) yeah, the product list block in particular uses tables which irks folk, but there wasn't a really effective way to get a single parameter driven block with the layout flexibility it has without throwing the results in a table. if you want a simpler layout you should be able to use the custom templates to sidestep the product list's layout
3) check out this if you haven't already:
http://www.concrete5.org/marketplace/addons/ecommerce/documentation...
best
I'd appreciate it if there were less tables in concrete5 but you probably have to talk to the author of the addon to achieve this..