jack2016 Posted May 19, 2017 Share Posted May 19, 2017 Am using cubecart 6 to sell digital product online. Customer registration form is like shown below. I want to edit the form and remove "title" "phone number", "mobile number" . Any body with an idea, kindly help. thanks. I would like to create an account. Please complete the fields below to register. Title First Name * Last Name * Email * Phone * Mobile Password * Confirm Password * Verify you are a human Privacy & Terms I agree to the Terms & Conditions. Subscribe to mailing list. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted May 19, 2017 Share Posted May 19, 2017 You can easily comment out the title, but there are verification code lines somewhere near the bottom of this file that would also need to be commented out if you comment out the phone and mobile entries. In skins/templates/content.register.php find these lines and use <!-- --> to comment out these sections. <div class="row"> <div class="small-12 large-8 columns"><label for="email" class="show-for-medium-up">{$LANG.common.email}</label><input type="text" name="email" id="email" value="{$DATA.email}" placeholder="{$LANG.common.email} {$LANG.form.required}" required ></div> </div> <!-- <div class="row"> <div class="small-12 large-8 columns"><label for="phone" class="show-for-medium-up">{$LANG.address.phone}</label><input type="text" name="phone" id="phone" value="{$DATA.phone}" placeholder="{$LANG.address.phone} {$LANG.form.required}" required></div> </div> <div class="row"> <div class="small-12 large-8 columns"><label for="mobile" class="show-for-medium-up">{$LANG.address.mobile}</label><input type="text" name="mobile" id="mobile" value="{$DATA.mobile}" placeholder="{$LANG.address.mobile}"></div> </div> --> <div class="row"> <div class="small-12 large-8 columns"><label for="password" class="show-for-medium-up">{$LANG.account.password}</label><input type="password" autocomplete="off" name="password" id="password" placeholder="{$LANG.account.password} {$LANG.form.required}" required ></div> </div> <div class="hide" id="validate_password_mismatch">{$LANG.account.error_password_mismatch}</div> <!-- <div class="hide" id="validate_phone">{$LANG.account.error_valid_phone}</div> <div class="hide" id="validate_mobile">{$LANG.account.error_valid_mobile_phone}</div> --> <div class="hide" id="validate_required">{$LANG.form.required}</div> This may not work, because there may be javascript validate code also involved. But it's an easy edit to try, as you can always take the comments off, and you're back where you started. Quote Link to comment Share on other sites More sharing options...
MARIO AWNA Posted December 11, 2017 Share Posted December 11, 2017 (edited) Hello guys. Would be good that when customers register, it will have an option to include the address (billing and shipping adress). Is there a way I could edit this page to have the form for adding addresses? Edited December 11, 2017 by MARIO AWNA Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 11, 2017 Share Posted December 11, 2017 Doing this would involve too much change to the core code. That is not to say this cannot be done, however. CubeCart decided to have a preliminary registration of just a few fields, then on a separate page to offer the ability to create as many billing and delivery addresses as is needed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.