[Skip to main content](#vessel-content)

#   Trusted Shops integration

##

- **[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")**
- [![CMS-Buttler's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5647.jpg)](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile") Topic Author
- [ Offline](/forum/user/5647-cms-buttler)

Less More

- Posts: 203
- Thank you received: 0
-
-
-
- [](http://www.cms-buttler.de)
-

11 years 9 months ago -  11 years 9 months ago [\#186926](#186926) by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")  *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#186926 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")* was created by *[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")*

-- HikaShop version -- : HikaShop Business 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.30
-- Browser(s) name and version -- : Firefox 35

Hello support Team,

i need to know the values used by hikashop for the bold written values.

Maybe you could be of assistence.

&lt;div id="trustedShopsCheckout" style="display: none;"&gt;
&lt;span id="tsCheckoutOrderNr"&gt;%Value: **ORDER\_NUMBER**%&lt;/span&gt;
&lt;span id="tsCheckoutBuyerEmail"&gt;%Value: **BUYER\_EMAIL\_ADDRESS**%&lt;/span&gt;
&lt;span id="tsCheckoutBuyerId"&gt;%Value: **CUSTOMER\_ID**%&lt;/span&gt;
&lt;span id="tsCheckoutOrderAmount"&gt;%Value: **SHOPPING\_BASKET\_TOTAL**%&lt;/span&gt;
&lt;span id="tsCheckoutOrderCurrency"&gt;%Value: **ORDER\_CURRENCY**%&lt;/span&gt;
&lt;span id="tsCheckoutOrderPaymentType"&gt;%Value: **PAYMENT\_METHOD**%&lt;/span&gt;
&lt;/div&gt;

&lt;span id="tsCheckoutBuyerEmail"&gt;&lt;?php echo **$customer\_email**; ?&gt;&lt;/span&gt;

Thx

Andreas

Last edit: 11 years 9 months ago by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 9 months ago [\#186931](#186931) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#186931 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

Hi,

I don't know what you are talking about.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")**
- [![CMS-Buttler's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5647.jpg)](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile") Topic Author
- [ Offline](/forum/user/5647-cms-buttler)

Less More

- Posts: 203
- Thank you received: 0
-
-
-
- [](http://www.cms-buttler.de)
-

11 years 9 months ago [\#187163](#187163) by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")  Replied by *[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#187163 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

I want to know the name of the fields used by hikashop for

ORDER_NUMBER
BUYER_EMAIL_ADDRESS
CUSTOMER_ID
SHOPPING_BASKET_TOTAL
ORDER_CURRENCY
PAYMENT_METHOD
customer_email

these are examples from Trusted Shops for a widget. I need to put the field names used by hikashop in it to work correctly

thx

Andreas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[korzo](/forum/user/34428-korzo "View korzo's Profile")**
- [![korzo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34428.png)](/forum/user/34428-korzo "View korzo's Profile")
- [ Offline](/forum/user/34428-korzo)

Less More

- Posts: 193
- Thank you received: 76
-
-

11 years 9 months ago [\#187176](#187176) by [korzo](/forum/user/34428-korzo "View korzo's Profile")  Replied by *[korzo](/forum/user/34428-korzo "View korzo's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#187176 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

When (in which view) you need to display this widget?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")**
- [![CMS-Buttler's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5647.jpg)](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile") Topic Author
- [ Offline](/forum/user/5647-cms-buttler)

Less More

- Posts: 203
- Thank you received: 0
-
-
-
- [](http://www.cms-buttler.de)
-

11 years 9 months ago [\#187186](#187186) by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")  Replied by *[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#187186 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

Own page in joomla

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 9 months ago [\#187203](#187203) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#187203 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

Hi,

Thanks Korzo ![:)](/media/kunena/emoticons/8.png ":)")

@CMS-Butter : Sorry, I still don't understand ; I don't know what is this widget and what you want to achieve.
The values you are asking for could be retrieve but only on some specific conditions so I don't think that's you really want to know.
So, please ; provide some explanations and some details... A lot of details !
Because for the moment I can't give you any answer ; it does not have any sense for me.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")**
- [![CMS-Buttler's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5647.jpg)](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile") Topic Author
- [ Offline](/forum/user/5647-cms-buttler)

Less More

- Posts: 203
- Thank you received: 0
-
-
-
- [](http://www.cms-buttler.de)
-

11 years 9 months ago [\#187299](#187299) by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")  Replied by *[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#187299 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

[ www.trustedshops.co.uk/support/trustbadge/](http://www.trustedshops.co.uk/support/trustbadge/)

Step 3.

This is for what i need the info

Thx

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

11 years 9 months ago [\#187351](#187351) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#187351 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

Hi,

You could add such code: Code:

&lt;?php $app = JFactory::getApplication(): $id = $app-&gt;getUserState('com_hikashop.order_id'); $orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;loadFullOrder($id,true,false); ?&gt; &lt;div id="trustedShopsCheckout" style="display: none;"&gt; &lt;span id="tsCheckoutOrderNr"&gt;&lt;?php echo $order-&gt;order_number; ?&gt;&lt;/span&gt; &lt;span id="tsCheckoutBuyerEmail"&gt;&lt;?php echo $order-&gt;customer-&gt;user_email; ?&gt;&lt;/span&gt; &lt;span id="tsCheckoutBuyerId"&gt;&lt;?php echo $order-&gt;customer-&gt;user_id; ?&gt;&lt;/span&gt; &lt;span id="tsCheckoutOrderAmount"&gt;&lt;?php echo $order-&gt;order_full_price; ?&gt;&lt;/span&gt; &lt;span id="tsCheckoutOrderCurrency"&gt;EUR&lt;/span&gt; &lt;span id="tsCheckoutOrderPaymentType"&gt;&lt;?php echo $order-&gt;order_payment_method; ?&gt;&lt;/span&gt; &lt;/div&gt;

Either in the "after_end" or the "end" view file (depending on the payment method you're using) of the "checkout" view via the menu Display&gt;Views

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")**
- [![CMS-Buttler's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5647.jpg)](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile") Topic Author
- [ Offline](/forum/user/5647-cms-buttler)

Less More

- Posts: 203
- Thank you received: 0
-
-
-
- [](http://www.cms-buttler.de)
-

11 years 9 months ago [\#187418](#187418) by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")  Replied by *[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#187418 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

Hello Nicolas

thx

what about a own Joomla article?

is it possible too?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")**
- [![CMS-Buttler's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5647.jpg)](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile") Topic Author
- [ Offline](/forum/user/5647-cms-buttler)

Less More

- Posts: 203
- Thank you received: 0
-
-
-
- [](http://www.cms-buttler.de)
-

11 years 9 months ago [\#187434](#187434) by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")  Replied by *[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#187434 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

> nicolas wrote: Hi,
>
> You could add such code:
>
> Code:
>
> &lt;?php $app = JFactory::getApplication(): $id = $app-&gt;getUserState('com_hikashop.order_id'); $orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;loadFullOrder($id,true,false); ?&gt; &lt;div id="trustedShopsCheckout" style="display: none;"&gt; &lt;span id="tsCheckoutOrderNr"&gt;&lt;?php echo $order-&gt;order_number; ?&gt;&lt;/span&gt; &lt;span id="tsCheckoutBuyerEmail"&gt;&lt;?php echo $order-&gt;customer-&gt;user_email; ?&gt;&lt;/span&gt; &lt;span id="tsCheckoutBuyerId"&gt;&lt;?php echo $order-&gt;customer-&gt;user_id; ?&gt;&lt;/span&gt; &lt;span id="tsCheckoutOrderAmount"&gt;&lt;?php echo $order-&gt;order_full_price; ?&gt;&lt;/span&gt; &lt;span id="tsCheckoutOrderCurrency"&gt;EUR&lt;/span&gt; &lt;span id="tsCheckoutOrderPaymentType"&gt;&lt;?php echo $order-&gt;order_payment_method; ?&gt;&lt;/span&gt; &lt;/div&gt;
>
>
>
> Either in the "after\_end" or the "end" view file (depending on the payment method you're using) of the "checkout" view via the menu Display&gt;Views

Hello nicolas this does not work.

Just getting a white page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 9 months ago [\#187442](#187442) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#187442 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

Hi,

If you are able to add php code inside an article, so yes you can use that code.
It get the id of the order in the user session, so it can be used anywhere.

The white page means that you have a php error, so please set the Joomla error reporting level to "maximum" to see the details of the error.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[claire](/forum/user/10064-claire "View claire's Profile")**
- [![claire's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/10064-claire "View claire's Profile")
- [ Offline](/forum/user/10064-claire)

Less More

- Posts: 12
- Thank you received: 0
-
-

11 years 9 months ago [\#188317](#188317) by [claire](/forum/user/10064-claire "View claire's Profile")  Replied by *[claire](/forum/user/10064-claire "View claire's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#188317 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

Hi,
I am using trustedbadge on my hika shop website. I want to be able to collect reviews from shoppers after they make a purchase. Here is a link from Trusted Shops on how to do this:
[ www.trustedshops.co.uk/support/trustbadge/#step1](http://www.trustedshops.co.uk/support/trustbadge/#step1)

As CMS Butler wrote we need to get the correct values for these fields from hikashop in order for this to work. Can you tell me if hikashop uses these field names or what are the correct ones. See below:
Insert a DIV element onto the Order Confirmation (Thank you) page of your shop. This element will ensure the rate later card is initiated, asking your customers to leave a review after their purchase.

In order to ease the review process for your customers, we recommend you pre-fill the required order data in the integration code. This way your customers will not have to fill in the form by themselves.

Before you start you should check our list of shopsoftware specific step-by-step guides you find here for your shopsoftware. Those guides are more specific and get you up and running fast.

&lt;div id="trustedShopsCheckout" style="display: none;"&gt;
&lt;span id="tsCheckoutOrderNr"&gt;%Value: ORDER_NUMBER%&lt;/span&gt;
&lt;span id="tsCheckoutBuyerEmail"&gt;%Value: BUYER_EMAIL_ADDRESS%&lt;/span&gt;
&lt;span id="tsCheckoutBuyerId"&gt;%Value: CUSTOMER_ID%&lt;/span&gt;
&lt;span id="tsCheckoutOrderAmount"&gt;%Value: SHOPPING_BASKET_TOTAL%&lt;/span&gt;
&lt;span id="tsCheckoutOrderCurrency"&gt;%Value: ORDER_CURRENCY%&lt;/span&gt;
&lt;span id="tsCheckoutOrderPaymentType"&gt;%Value: PAYMENT_METHOD%&lt;/span&gt;
&lt;/div&gt;

The values of the parameters should be filled in using the script language used by your shop system.

For example, in PHP the transfer of the e-mail address could look as follows, where $customer_email corresponds to the internal name given to the customer's e-mail address in your shop system:

&lt;span id="tsCheckoutBuyerEmail"&gt;&lt;?php echo $customer_email; ?&gt;&lt;/span&gt;

The email address and order number is mandatory for the process asking your customers to leave a review after their purchase. We recommend to submit all values in addition.

That’s it! Your Trustbadge® will now start automatically collecting reviews from your customers.

__________________
Thanks, b

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 9 months ago [\#188362](#188362) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#188362 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

Hi,

Nicolas already provide a working code which can display the wanted content on several specific pages.
[ www.hikashop.com/forum/orders-management...egration.html#187351](http://www.hikashop.com/forum/orders-management/874296-trusted-shops-integration.html#187351)

And I insist on the several specific pages ; not all pages and not a lambda page.
Like Nicolas wrote :

> Either in the "after\_end" or the "end" view file (depending on the payment method you're using) of the "checkout" view via the menu Display&gt;Views

So, please follow the indications and if you have any trouble with the code, please check your PHP error log or activate the Joomla debug mode in your Joomla global configuration in order to have more details about your issue.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[claire](/forum/user/10064-claire "View claire's Profile")**
- [![claire's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/10064-claire "View claire's Profile")
- [ Offline](/forum/user/10064-claire)

Less More

- Posts: 12
- Thank you received: 0
-
-

11 years 9 months ago [\#188696](#188696) by [claire](/forum/user/10064-claire "View claire's Profile")  Replied by *[claire](/forum/user/10064-claire "View claire's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#188696 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

Hi Jerome,
On the code Nicolas put up on this post he has:
&lt;span id="tsCheckoutOrderCurrency"&gt;EUR&lt;/span&gt;
But on my shop we have multi currency, what code should replace Euro to capture the currency used?
thanks,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 9 months ago [\#188748](#188748) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#188748 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

Hello,
A solution can be to use the **hikashop\_getCurrency()** function which will give you the ID of the current currency used, then you'll just have to use that kind of SQL request to have more information about that currency : Code:

$query = 'SELECT * FROM '.hikashop_table('currency').' WHERE currency_id = '.hikashop_getCurrency();

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kitepeter](/forum/user/35897-kitepeter "View kitepeter's Profile")**
- [![kitepeter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35897-kitepeter "View kitepeter's Profile")
- [ Offline](/forum/user/35897-kitepeter)

Less More

- Posts: 2
- Thank you received: 0
-
-

11 years 4 months ago [\#206677](#206677) by [kitepeter](/forum/user/35897-kitepeter "View kitepeter's Profile")  Replied by *[kitepeter](/forum/user/35897-kitepeter "View kitepeter's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#206677 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

in templates/$template/html/com_hikashop/checkout/end.php
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.3.1 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt; &lt;?php $app = JFactory::getApplication(); $id = $app-&gt;getUserState('com_hikashop.order_id'); $orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;loadFullOrder($id,true,false); if(empty($this-&gt;html)){ echo JText::_('THANK_YOU_FOR_PURCHASE'); }else{ echo $this-&gt;html; echo '&lt;div id="trustedShopsCheckout" style="display: none;"&gt;'; echo '&lt;span id="tsCheckoutOrderNr"&gt;'; echo $order-&gt;order_number; echo '&lt;/span&gt;'; echo '&lt;span id="tsCheckoutBuyerEmail"&gt;'; echo $order-&gt;customer-&gt;user_email; echo '&lt;/span&gt;'; echo '&lt;span id="tsCheckoutBuyerId"&gt;'; echo $order-&gt;customer-&gt;user_id; echo '&lt;/span&gt;'; echo '&lt;span id="tsCheckoutOrderAmount"&gt;'; echo $order-&gt;order_full_price; echo '&lt;/span&gt;'; echo '&lt;span id="tsCheckoutOrderCurrency"&gt;EUR&lt;/span&gt;'; echo '&lt;span id="tsCheckoutOrderPaymentType"&gt;'; echo $order-&gt;order_payment_method; echo '&lt;/span&gt;'; echo '&lt;/div&gt;'; } $this-&gt;nextButton = false;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[naehmaschinen-hoess](/forum/user/66137-naehmaschinen-hoess "View naehmaschinen-hoess's Profile")**
- [![naehmaschinen-hoess's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/66137-naehmaschinen-hoess "View naehmaschinen-hoess's Profile")
- [ Offline](/forum/user/66137-naehmaschinen-hoess)

Less More

- Posts: 2
- Thank you received: 1
-
-

4 years 3 months ago [\#343005](#343005) by [naehmaschinen-hoess](/forum/user/66137-naehmaschinen-hoess "View naehmaschinen-hoess's Profile")  Replied by *[naehmaschinen-hoess](/forum/user/66137-naehmaschinen-hoess "View naehmaschinen-hoess's Profile")* on topic *[Trusted Shops integration](/forum/35-orders-management/874296-trusted-shops-integration#343005 "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 35  Hello support Team,  i need to know the values used by hikashop for the bold written values.  Maybe you could be of assistence.   %Value: ORDER&#95;NUMBER% %Value: BUYER&#95;EMAIL&#95;ADDRESS% %Value: CUSTOMER&#95;ID% %Value: SHOPPING&#95;BASKET&#95;TOTAL% %Value: ORDER&#95;CURRENCY% %Value: PAYMENT&#95;METHOD%     Thx  Andreas")*

New Version - working for me: Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 4.6.0 * @author hikashop.com * @copyright (C) 2010-2022 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt; &lt;?php $app = JFactory::getApplication(); $id = $app-&gt;getUserState('com_hikashop.order_id'); $orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;loadFullOrder($id,true,false); if(empty($this-&gt;html)) { echo JText::_('THANK_YOU_FOR_PURCHASE'); if(!empty($this-&gt;url)) echo '&lt;br/&gt;'.JText::sprintf('YOU_CAN_NOW_ACCESS_YOUR_ORDER_HERE', $this-&gt;url); } else { echo $this-&gt;html; echo '&lt;div id="trustedShopsCheckout" style="display: none;"&gt;'; echo '&lt;span id="tsCheckoutOrderNr"&gt;'; echo $order-&gt;order_number; echo '&lt;/span&gt;'; echo '&lt;span id="tsCheckoutBuyerEmail"&gt;'; echo $order-&gt;customer-&gt;user_email; echo '&lt;/span&gt;'; echo '&lt;span id="tsCheckoutBuyerId"&gt;'; echo $order-&gt;customer-&gt;user_id; echo '&lt;/span&gt;'; echo '&lt;span id="tsCheckoutOrderAmount"&gt;'; echo $order-&gt;order_full_price; echo '&lt;/span&gt;'; echo '&lt;span id="tsCheckoutOrderCurrency"&gt;EUR&lt;/span&gt;'; echo '&lt;span id="tsCheckoutOrderPaymentType"&gt;'; echo $order-&gt;order_payment_method; echo '&lt;/span&gt;'; echo '&lt;/div&gt;'; } $this-&gt;nextButton = false;

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg3NDI5Ni10cnVzdGVkLXNob3BzLWludGVncmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.175 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
