mati7716 Posted May 21, 2023 Share Posted May 21, 2023 Hi, How remove optional create account on order page ? Link to comment Share on other sites More sharing options...
corrigerunbug Posted May 21, 2023 Share Posted May 21, 2023 Hi, You can go to your backoffice and disable "Enable guest checkout" Shop Parameters => Order Settings => Disable "Enable guest checkout". Link to comment Share on other sites More sharing options...
stefanoqwe Posted October 7 Share Posted October 7 You have found solution? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted October 7 Share Posted October 7 Hi, You have to modify theme Template Files Locate the checkout or order template file in your theme. Typically, these files are in the following directory: themes/your-theme/templates/checkout/_partials/ Look for a file like customer-form.tpl or checkout-personal-information.tpl. Open the file and locate the section responsible for the "Create an account" fields. You can either comment out the HTML code for this section or remove it Link to comment Share on other sites More sharing options...
stefanoqwe Posted October 7 Share Posted October 7 13 minutes ago, Knowband Plugins said: Hi, You have to modify theme Template Files Locate the checkout or order template file in your theme. Typically, these files are in the following directory: themes/your-theme/templates/checkout/_partials/ Look for a file like customer-form.tpl or checkout-personal-information.tpl. Open the file and locate the section responsible for the "Create an account" fields. You can either comment out the HTML code for this section or remove it {block "form_field"} {if $field.name === 'password' and $guest_allowed} <p class="form-informations"> <span class="font-weight-bold form-informations-title">{l s='Create an account' d='Shop.Theme.Checkout'}</span> <span class="font-italic form-informations-option">{l s='(optional)' d='Shop.Theme.Checkout'}</span> <br> <span class="text-muted form-informations-subtitle">{l s='And save time on your next order!' d='Shop.Theme.Checkout'}</span> </p> {$smarty.block.parent} {else} {$smarty.block.parent} {/if} {/block} {block "form_buttons"} <button class="continue btn btn-primary pull-xs-right" name="continue" data-link-action="register-new-customer" type="submit" value="1" > {l s='Continue' d='Shop.Theme.Actions'} </button> {/block} I have this, if a delet the first part, remain only password field, where is the error? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted October 8 Share Posted October 8 Hi, As per our understanding, you want to disable the Guest Checkout option so that the Password field will be mandatory. If so, then you can simply disable the Guest Checkout in the Admin. Go to Shop Parameters -> order Settings. Screenshot:- https://prnt.sc/vnYfjxOGEZnG And then Disable the Enable Guest Checkout. Screenshot- https://prnt.sc/gJXlLta4vlgi This will disable the guest checkout option. Regards. Link to comment Share on other sites More sharing options...
stefanoqwe Posted October 8 Share Posted October 8 1 hour ago, Knowband Plugins said: Hi, As per our understanding, you want to disable the Guest Checkout option so that the Password field will be mandatory. If so, then you can simply disable the Guest Checkout in the Admin. Go to Shop Parameters -> order Settings. Screenshot:- https://prnt.sc/vnYfjxOGEZnG And then Disable the Enable Guest Checkout. Screenshot- https://prnt.sc/gJXlLta4vlgi This will disable the guest checkout option. Regards. No, i will Able Guest Checkout, i will Hide the possibility to create Also account in Order page Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now