
Originally Posted by
CUSTOM_UK
Thanks for that Craftzombie. Had missed a couple of files out, but got it all working now. Thank you for your help on this.
Without going back through 64 pages of postings, is there an easy way to remove elements from the page such as telephone number, or is Cowoa directly linked into the main zen cart files?
Thanks..
You can make the phone optional or remove it completely. To do either one, you must do step 1 from this link:
http://www.zen-cart.com/forum/showpo...24&postcount=2
To make it optional, continue doing step 2.
To remove the phone completely, do step 1, but then go to
includes/templates/YOUR_TEMPLATE/templates/tpl_modules_no_account.php,
and remove this:
Code:
<br class="clearBoth" />
<label class="inputLabel" for="telephone"><?php echo ENTRY_TELEPHONE_NUMBER; ?></label>
<?php echo zen_draw_input_field('telephone', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_telephone', '40') . ' id="telephone"') . (zen_not_null(ENTRY_TELEPHONE_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_TELEPHONE_NUMBER_TEXT . '</span>': ''); ?>
You can do the same thing to the regular Zen sign up page by removing similar code from includes/templates/YOUR_TEMPLATE/templates/tpl_modules_create_account.php.
You can most likely remove other elements on the page(s) in the same manner. I haven't tried all of them, so I am not sure which ones will or will not work. But you probably have to make adjustment in the admin for those as well.
Bookmarks