NikRB Posted August 20, 2018 Share Posted August 20, 2018 Hi All, Is there a way to only allow the user to visit the cart page, instead of being able to go directly to the checkout page. The reason for this is, the cart page is the only page you can increase the number of years you want to purchase the domains. Checkout page just defaults to one year with no easy way to change it. Thanks in advance Nik 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted August 21, 2018 Share Posted August 21, 2018 Hi @NikRB , Out of the box, no there isn't this would require a customisation, most likely a hook, would you like me to move this to the Custom Development Board? 0 Quote Link to comment Share on other sites More sharing options...
NikRB Posted August 21, 2018 Author Share Posted August 21, 2018 Yes please. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted August 21, 2018 Share Posted August 21, 2018 3 minutes ago, NikRB said: Yes please. All done 🙂 1 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 21, 2018 Share Posted August 21, 2018 Hi Nik, 17 hours ago, NikRB said: Is there a way to only allow the user to visit the cart page, instead of being able to go directly to the checkout page. The reason for this is, the cart page is the only page you can increase the number of years you want to purchase the domains. Checkout page just defaults to one year with no easy way to change it. are you using a custom orderform template? because in standard_cart, you can alter the number of years of a domain registration at the view cart stage (the step before checkout) - though only if you've added multi-year pricing for that TLD. 0 Quote Link to comment Share on other sites More sharing options...
NikRB Posted August 22, 2018 Author Share Posted August 22, 2018 Hi @brian!, Yes, that is how my cart page looks and works. The issue is when you add a domain it gives you a quick link to the checkout page, instead of the cart page. This isn't very useful as users won't know they can purchase multiple years unless they then click on the cart page. I was hoping there was a setting that allowed users to be directed to the cart instead checkout but it looks like a custom job. Unless you know a better way? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 23, 2018 Share Posted August 23, 2018 On 22/08/2018 at 08:02, NikRB said: The issue is when you add a domain it gives you a quick link to the checkout page, instead of the cart page. technically, it's just the label of "Checkout" that is 'wrong'... in practice, what that checkout link is really doing is acting as a "Continue" button and taking them to the next step in the ordering process - which is usually either to the domain configuration page (where you can add hosting, assign nameservers, complete additional domain fields, add ID protection, email forwarding etc), or if there is no additional configuration required, it takes you to viewcart (where you can now change registration periods)... off-hand, I can't recall it ever sending someone directly to checkout without at least going to viewcart first. On 22/08/2018 at 08:02, NikRB said: This isn't very useful as users won't know they can purchase multiple years unless they then click on the cart page. in previous versions, e.g v6, the user was able to choose multiple years at the search results stage instead... ... but that got removed by WHMCS in v7 to create a more 'streamlined ordering experience'. 🙄 the easiest way to do that now, would be to use an old template, e.g Modern, as that still has the multi-year option at the time of ordering... though then you lose some of the visual elements of using standard cart. On 22/08/2018 at 08:02, NikRB said: I was hoping there was a setting that allowed users to be directed to the cart instead checkout but it looks like a custom job. ideally, when a user orders a domain(s), you'd want them to follow the existing cart process - e.g for certain TLDs with additional domain fields, it is important that those fields get completed otherwise the domain will likely not register successfully with the registrar. for a quick visual fix, you could edit the standard_cart/domainregister.tpl template and change ~ line 77... <span class="added"><i class="glyphicon glyphicon-shopping-cart"></i> {lang key='checkout'}</span> to... <span class="added">{lang key='continue'}</span> that changes the "Checkout" button to a "Continue" button - which might make more sense and at least gives the impression that the user is in more than a 1-stage process. On 22/08/2018 at 08:02, NikRB said: Unless you know a better way? to make SC now offer multiple years at the results stage again would be a custom job - and probably not a straightforward one either. 0 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.