- Posts: 57
- Thank you received: 2
order urls
11 years 5 months ago #200173
by Hans987
order urls was created by Hans987
-- 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
-- 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.
11 years 5 months ago #200207
by nicolas
Replied by nicolas on topic order urls
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:
where XXX is the id of your "account" menu item that you can find in the Joomla menu manager.
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:
Code:
<?php $data->order_url = hikashop_frontendLink('index.php?option=com_hikashop&ctrl=order&task=show&cid='.$element->order_id.'&Itemid=XXX'); ?>
The following user(s) said Thank You: Hans987
Please Log in or Create an account to join the conversation.
Time to create page: 0.133 seconds