Skip to main content

menu link to "my orders"

More
11 years 7 months ago #193015 by nbstudio
-- HikaShop version -- : [1501262049]

Hi
Is there a way to hide the "my orders" menu link if there are not?
If not, is there a way to redirect to a specific page instead of the shop home?

thanks

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

More
11 years 7 months ago #193027 by Jerome
Replied by Jerome on topic menu link to "my orders"
Hi,

Which "my orders" menu link are you talking about ?
If you have create a Joomla menu ; you can simply manage it in your Joomla menu configuration.

Regards,

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

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

More
11 years 7 months ago - 11 years 7 months ago #193075 by nbstudio
Replied by nbstudio on topic menu link to "my orders"
I created a menu item , type hikashop -> order

If no order exists, is there a way to hide it or decide which page to open instead of the shop home-page?

The same ... I'd like to apply to the "check-out" menu type.
Hide it if no order has to be checked-out
Last edit: 11 years 7 months ago by nbstudio.

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

More
11 years 7 months ago - 11 years 7 months ago #193080 by Xavier
Replied by Xavier on topic menu link to "my orders"
Hi,

The easiest way will be to redirect to a specific page instead of hiding the button.
For that, you can edit the view "order / listing" and add this code at the top:
Code:
<?php if(empty($this->rows)){ $app = JFactory::getApplication; $app->redirect('your_url'); } ?> For the checkout, the view to edit is "checkout / step". http://www.hikashop.com/support/support/documentation/153-customize-the-display.html
Last edit: 11 years 7 months ago by Xavier.

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

Time to create page: 0.165 seconds
Powered by Kunena Forum