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

#   Backend View of Coupons Codes in Order listing

##

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

Less More

- Posts: 14
- Thank you received: 0
-
-

11 years 3 months ago [\#211192](#211192) by [Gardinie](/forum/user/35511-gardinie "View Gardinie's Profile")  *[Backend View of Coupons Codes in Order listing](/forum/35-orders-management/878689-backend-view-of-coupons-codes-in-order-listing#211192 "-- url of the page with the problem -- :   www.gardinie.com/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Safari 8.0.7  Hi there,  We have 5 Brand Ambassadors - each with their own unique Coupon Codes where they can give their 'audience' &#91;mostly word of mouth&#93; 10% off.  Using Affiliates for this doesn't really work since it's not links on a Facebook page or blog...  What we want is a quick way to see what each Brand Ambassador has brought in business wise...  My initial thought was to have the Coupon Code column appear in the Backend Sales Listing:   www.gardinie.com/administrator/index.php...ale&amp;filter&#95;partner=0  But I have not been able to figure out how to do it and I suspect that requires editing a View?  I realize that I can use the Widget system to create a report for each of the Brand Ambassadors' coupon code to show a listing of their orders but having it in the Backend Sales Listing is easier to track/see &amp; more desirable.  I searched the forums without any luck.  Thanks, Sincerely,  Emmanuel.")* was created by *[Gardinie](/forum/user/35511-gardinie "View Gardinie's Profile")*

-- url of the page with the problem -- : [ www.gardinie.com/](http://www.gardinie.com/)
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Safari 8.0.7

Hi there,

We have 5 Brand Ambassadors - each with their own unique Coupon Codes where they can give their 'audience' [mostly word of mouth] 10% off.

Using Affiliates for this doesn't really work since it's not links on a Facebook page or blog...

What we want is a quick way to see what each Brand Ambassador has brought in business wise...

My initial thought was to have the Coupon Code column appear in the Backend Sales Listing:
[ www.gardinie.com/administrator/index.php...ale&amp;filter\_partner=0](http://www.gardinie.com/administrator/index.php?option=com_hikashop&ctrl=order&order_type=sale&filter_partner=0)

But I have not been able to figure out how to do it and I suspect that requires editing a View?

I realize that I can use the Widget system to create a report for each of the Brand Ambassadors' coupon code to show a listing of their orders but having it in the Backend Sales Listing is easier to track/see &amp; more desirable.

I searched the forums without any luck.

Thanks,
Sincerely,

Emmanuel.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3ODY4OS1iYWNrZW5kLXZpZXctb2YtY291cG9ucy1jb2Rlcy1pbi1vcmRlci1saXN0aW5nP3RtcGw9bWFya2Rvd24=) 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: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#211193](#211193) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Backend View of Coupons Codes in Order listing](/forum/35-orders-management/878689-backend-view-of-coupons-codes-in-order-listing#211193 "-- url of the page with the problem -- :   www.gardinie.com/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Safari 8.0.7  Hi there,  We have 5 Brand Ambassadors - each with their own unique Coupon Codes where they can give their 'audience' &#91;mostly word of mouth&#93; 10% off.  Using Affiliates for this doesn't really work since it's not links on a Facebook page or blog...  What we want is a quick way to see what each Brand Ambassador has brought in business wise...  My initial thought was to have the Coupon Code column appear in the Backend Sales Listing:   www.gardinie.com/administrator/index.php...ale&amp;filter&#95;partner=0  But I have not been able to figure out how to do it and I suspect that requires editing a View?  I realize that I can use the Widget system to create a report for each of the Brand Ambassadors' coupon code to show a listing of their orders but having it in the Backend Sales Listing is easier to track/see &amp; more desirable.  I searched the forums without any luck.  Thanks, Sincerely,  Emmanuel.")*

Hi,

And why not using the setting "Force affiliation to" in the coupon code ?

Regards,

---

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

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

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

Less More

- Posts: 14
- Thank you received: 0
-
-

11 years 3 months ago [\#211215](#211215) by [Gardinie](/forum/user/35511-gardinie "View Gardinie's Profile")  Replied by *[Gardinie](/forum/user/35511-gardinie "View Gardinie's Profile")* on topic *[Backend View of Coupons Codes in Order listing](/forum/35-orders-management/878689-backend-view-of-coupons-codes-in-order-listing#211215 "-- url of the page with the problem -- :   www.gardinie.com/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Safari 8.0.7  Hi there,  We have 5 Brand Ambassadors - each with their own unique Coupon Codes where they can give their 'audience' &#91;mostly word of mouth&#93; 10% off.  Using Affiliates for this doesn't really work since it's not links on a Facebook page or blog...  What we want is a quick way to see what each Brand Ambassador has brought in business wise...  My initial thought was to have the Coupon Code column appear in the Backend Sales Listing:   www.gardinie.com/administrator/index.php...ale&amp;filter&#95;partner=0  But I have not been able to figure out how to do it and I suspect that requires editing a View?  I realize that I can use the Widget system to create a report for each of the Brand Ambassadors' coupon code to show a listing of their orders but having it in the Backend Sales Listing is easier to track/see &amp; more desirable.  I searched the forums without any luck.  Thanks, Sincerely,  Emmanuel.")*

Hi Jérome,

Thank you - that sounds good - i will check into that.

Cheers,

Emmanuel.

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

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

Less More

- Posts: 14
- Thank you received: 0
-
-

10 years 4 months ago [\#244346](#244346) by [smadsen](/forum/user/36416-smadsen "View smadsen's Profile")  Replied by *[smadsen](/forum/user/36416-smadsen "View smadsen's Profile")* on topic *[Backend View of Coupons Codes in Order listing](/forum/35-orders-management/878689-backend-view-of-coupons-codes-in-order-listing#244346 "-- url of the page with the problem -- :   www.gardinie.com/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Safari 8.0.7  Hi there,  We have 5 Brand Ambassadors - each with their own unique Coupon Codes where they can give their 'audience' &#91;mostly word of mouth&#93; 10% off.  Using Affiliates for this doesn't really work since it's not links on a Facebook page or blog...  What we want is a quick way to see what each Brand Ambassador has brought in business wise...  My initial thought was to have the Coupon Code column appear in the Backend Sales Listing:   www.gardinie.com/administrator/index.php...ale&amp;filter&#95;partner=0  But I have not been able to figure out how to do it and I suspect that requires editing a View?  I realize that I can use the Widget system to create a report for each of the Brand Ambassadors' coupon code to show a listing of their orders but having it in the Backend Sales Listing is easier to track/see &amp; more desirable.  I searched the forums without any luck.  Thanks, Sincerely,  Emmanuel.")*

Hi Jerome

Im in the same situation as topicowner.

I want to see an overview of how many orders my "vip-customers" have done using their unique discount coupon.

But when im trying to setup a widget and then setting Coupon to my own - it will dissapear as soon im pressing "save".

Therefore i cannot get this statictic. Can you help me out?

The site is: jupitercykler.dk
I can get u Admin-login.

Ive added pictures.

Looking forward hearing from you.

- [ ![Coupon&#95;1.png](/forum/attachment/32387) ](/forum/attachment/32387 "Coupon&#95;1.png") [ ](/forum/attachment/32387?download=1 "Coupon&#95;1.png")
- [ ![Coupon&#95;2.png](/forum/attachment/32388) ](/forum/attachment/32388 "Coupon&#95;2.png") [ ](/forum/attachment/32388?download=1 "Coupon&#95;2.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3ODY4OS1iYWNrZW5kLXZpZXctb2YtY291cG9ucy1jb2Rlcy1pbi1vcmRlci1saXN0aW5nP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

10 years 4 months ago [\#244469](#244469) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Backend View of Coupons Codes in Order listing](/forum/35-orders-management/878689-backend-view-of-coupons-codes-in-order-listing#244469 "-- url of the page with the problem -- :   www.gardinie.com/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Safari 8.0.7  Hi there,  We have 5 Brand Ambassadors - each with their own unique Coupon Codes where they can give their 'audience' &#91;mostly word of mouth&#93; 10% off.  Using Affiliates for this doesn't really work since it's not links on a Facebook page or blog...  What we want is a quick way to see what each Brand Ambassador has brought in business wise...  My initial thought was to have the Coupon Code column appear in the Backend Sales Listing:   www.gardinie.com/administrator/index.php...ale&amp;filter&#95;partner=0  But I have not been able to figure out how to do it and I suspect that requires editing a View?  I realize that I can use the Widget system to create a report for each of the Brand Ambassadors' coupon code to show a listing of their orders but having it in the Backend Sales Listing is easier to track/see &amp; more desirable.  I searched the forums without any luck.  Thanks, Sincerely,  Emmanuel.")*

Hi,

Change the line: Code:

echo hikashop_getLayout('dashboard','widget',$params,$js);

to:
Code:

$couponslist = @$this-&gt;element-&gt;widget_params-&gt;coupons_list; echo hikashop_getLayout('dashboard','widget',$params,$js); $this-&gt;element-&gt;widget_params-&gt;coupons_list = $couponslist;

in the file administrator/components/com_hikashop/views/report/view.html.php and that should fix the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3ODY4OS1iYWNrZW5kLXZpZXctb2YtY291cG9ucy1jb2Rlcy1pbi1vcmRlci1saXN0aW5nP3RtcGw9bWFya2Rvd24=) 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.068 seconds

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