Checkout Workflow > login + shipments/payments costs issues

  • Posts: 461
  • Thank you received: 36
4 years 8 months ago #316385

-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.15
-- PHP version -- : 7.3.15
-- Browser(s) name and version -- : Chrome 80

Hi guys,
I need help on Checkout Workflow:

1 - I setted it in 5 Steps: Cart > Login > Shipment > Payment + Confirm > End
This means that I want to give a Checkout view access to Gusts till the Login Step, if the User does not login he cannot go next with the Checkout process.
1A - On the Login view, Is there a way to avoid the Registration part and leave the Login one ?
1B - I'm using SCLogin, Is there a way to change the Hika Login with the SCLogin module ?
I tried adding a Text view with {loadmoduleid 99}, but as you can see is not running.

2 - Is there a way to don't add any Login view into the Checkout, but just Text view where I'll say to customers to Login before (with a link), but in any case to stop the Checkout > Next process to the first "Cart" Step till the user is not logged ?
How to assign this Text View just to guests ? (Hiding it to all the Logged users)

3 - I'm adding 2 Cart views: One in the first Step, one in the Confirm Step, after the Shipping and Payments Steps.
What is happening is that the pre-selected Shipping and Payment have a costs so, also on the first Cart Step the costs are reported, while my Goal is to have the first Cart Step that is showing just the sum of all Product costs (doesn't matter if Shipment / Payment cost are yet pre-selected), while the one into the last Confirm Step will have also the Sipping Cost and the Payment Cost.
Please, How to avoid the Shipment/Payment lines into the first Cart View ?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 8 months ago #316388

Hi,

1.A. I'm not sure what you mean by "avoid". If you don't want to "see" it, you can just hide it with a bit of CSS. Or maybe you're talking about being able to checkout without registering ? In that case, you can set the "Registration" setting to "guest" in the HikaShop configuration. Or maybe you want the customer to be able to choose between login, registering and guest checkout ? In that case, you can change the "Display method for registration" setting to "switcher" and select both "guest" and "registration" in the "registration" setting.

1.B. A loadmoduleid tag can only work inside content, like a Joomla article or a product description. That's how the plugin handling that tag is done. If you want a plugin which can add a module anywhere including the checkout, you want to use "modules anywhere" instead:
www.regularlabs.com/extensions/modulesanywhere
However, it might still not work. It depends on how the login module is done.

2. No. However, you could do that easily with the Login view.
At the beginning of the show_block_login.php view file, you have that code:

if(!empty($this->options['current_login']) && empty($this->mainUser->guest) && empty($this->ajax))
	return;
And you can add after it:
        echo '<a href="https://mywebsite.com/link/to/login/form">Please login first</a>';
	return;

3. In your shipping and payment methods, use the "access level" setting to not allow unregistered users to use them. That way, no shipping method and no payment method will be found before the third step and thus you won't see them on your first cart view.

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum