order urls

  • Posts: 57
  • Thank you received: 2
9 years 6 months ago #200173

-- HikaShop version -- : 2.1.3
-- Joomla version -- : 2.528

Hi,

I have different URLs in different situations for the order page: (paypal standard plug in)


order created
buntype.com/administrator/index.php?opti...edit&order_id=160302
only calls buntype.com


order confirmed
buntype.com/index.php?option=com_hikasho...how&cid%5B%5D=160302
shows incorrect formatted page


from menu
buntype.com/account/orders/order/show/cid-160302.html
shows correct page

only the last one is correct formatted.

Can I harmonize this anyhow?

Thanks and many cheers
Ralf Sander

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
9 years 6 months ago #200207

Hi,

The first one is in the email that you receive as an administrator. That's why the link points to the backend, because no one else besides the customer is allowed to access an order from the frontend, and as an administrator, you have access to the backend, and it will be more interesting for you to access the order from the backend.

For the second one, you can modify it to look like the third one. It requires editing the order status notification email and add such line at the beginning:

<?php $data->order_url = hikashop_frontendLink('index.php?option=com_hikashop&ctrl=order&task=show&cid='.$element->order_id.'&Itemid=XXX'); ?>
where XXX is the id of your "account" menu item that you can find in the Joomla menu manager.

The following user(s) said Thank You: Hans987

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

Time to create page: 0.054 seconds
Powered by Kunena Forum