Checkout different template

  • Posts: 1119
  • Thank you received: 114
7 years 9 months ago #262781

Hi,

1. I am not sure how can this be done but i would like to move wizardbar outside of the hikashop checkout page and put in template header where menu item is.
Would this require some custom plugin/module?

2. I would like to hide modules, some blocks of the template from checkout process. So user wouldnt be distracted during checkout process.

Issue that modules can be hidden via menu assignment but i would like to keep everything in first checkout step which is "cart" and start to hide from second step... There is only one menu item for checkout so i am not sure how can this be done...I hope you understand my quarry.

Basically i am looking to have different template layout in checkout. Any advice is welcome.

Thanks

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #262785

Hi,

1. You can not display the wizard bar in the checkout ; it is controlled thanks to an HikaShop setting.
Afterwards, if you want to put it in your template, you'll have to customize your template.

2. By having a specific menu for the checkout, it is easier to control the display of the modules (using native Joomla features).
Afterwards, if you want to display or hide depending the checkout step ; it will require components like "advanced module manager".

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: kyratn

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

  • Posts: 1119
  • Thank you received: 114
7 years 9 months ago #262844

Hi,

1. I understand that there is no way to show wizardbar outside hikashop checkout as it is controlled by hikashop.

However I would like to have as example different text in joomla module based on checkout step. Can this be done?

In checkout i use "if($this->step== 1 ){" and it works fine. So if this would be possible then i could just create some kinda module and show text/contente based on checkout step.

Or maybe there is some component for joomla it self?


Thanks

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

  • Posts: 200
  • Thank you received: 75
7 years 9 months ago #262900

Hi,

sure that can be done, we do that as well, the easiest way is to simply create two separate modules with the different text and display each on the different checkout pages. As Jerome pointed out, you can use a component like Advanced Module Manager for that. Then you can restrict a module to only appear on pages with a specific URL for example, so you can have a module appear only on the page "/task-step/step-1" or "/task-step/step-2" or something like that.

A second possibility which does not require a plugin, is to use the if($this->step== 1 ){ you mentioned and then load the module manually through PHP, which can be done by adding something along the lines:

$modules  = JModuleHelper::getModules("YOUR_MODULE");
$attribs  = array();
$attribs['style'] = 'xhtml';

foreach ($modules as $mod)
{
    echo JModuleHelper::renderModule($mod, $attribs);
}

You can google about that to find more information. Hope that helps.

The following user(s) said Thank You: Philip

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

  • Posts: 1119
  • Thank you received: 114
7 years 9 months ago #262911

Hi,

Thanks GW for helping.

I think i have asked my question wrong.

The issue is that advanced module manager doesnt work with our template and i would like to put wizardbar into template header during checkout. So i am thinking how could i have it.

Thanks

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
7 years 9 months ago #262920

Hello,

Like Jerome told you there is quite often a solution by custom code, and maybe by use same process than Advance module manager.
To take the way this plugin works, and not necessarily use it.
Other solution, maybe understand why your template doesn't work with Advance Module manager.

So your solutions are :
- You have html & php skills and you custom code yourself.
- You contact here , one of our Partner to develop it.
- Or you understand with your template support why Advance module manager doesn't work, and get a solution.

Regards

Last edit: 7 years 9 months ago by Philip.

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

  • Posts: 1119
  • Thank you received: 114
7 years 9 months ago #263062

Hi,

Thanks Philip for answer.
I have got idea how to do it. I hope it will work.

Have a great day

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

Time to create page: 0.083 seconds
Powered by Kunena Forum