If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Zen Cart Code Suggestions / Suggestion for tpl_modules_checkout_new_address.php

Suggestion for tpl_modules_checkout_new_address.php

Started by swguy on 4 Aug 2017, 5:57 AM · Views: 51

Results 1 to 1 of 1
4 Aug 2017, 5:57 AM
#1
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Suggestion for tpl_modules_checkout_new_address.php

Right now this file, which is included by tpl_checkout_payment_address_default.php and tpl_checkout_shipping_address_default.php, contains a fieldset which contains the fields of the form. The fieldset itself is wrapped in a div. In the including files, after pulling in tpl_modules_checkout_new_address.php, they display the submit button.

I think it looks better and gives a stronger cue to the user having the submit button within the fieldset, so I would suggest moving the start and end fieldset outside tpl_modules_checkout_new_address.php and into tpl_checkout_payment_address_default.php and tpl_checkout_shipping_address_default.php.

See images "old.png" and "new.png" below to view this change.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.