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

#   Products duplicated in Vendor Control Panel

##

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

10 years 11 months ago -  10 years 11 months ago [\#224116](#224116) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  *[Products duplicated in Vendor Control Panel](/forum/22-market-bug-report/881086-products-duplicated-in-vendor-control-panel#224116 "-- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4.29  When products have options they are duplicated in the order product list in the vendor control panel:  Product list in the vendor control panel  Product list for the same order in the hikashop back end admin  The invoice is correct:  regards Trevor  &#42;&#42; Update &#42;&#42;&#42; I have just tested this on another site (off-line) and the results are the same. &#42;&#42;&#42;")* was created by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")*

-- HikaShop version -- : 2.6.0
-- HikaMarket version -- : 1.6.7
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.4.29

When products have options they are duplicated in the order product list in the vendor control panel:

Product list in the vendor control panel
[ ![vendor-control-panel.png](/forum/attachment/28463) ](/forum/attachment/28463 "...trol-panel.png")

Product list for the same order in the hikashop back end admin
[ ![admin-area.png](/forum/attachment/28464) ](/forum/attachment/28464 "admin-area.png")

The invoice is correct:

[ ![invoice.png](/forum/attachment/28465) ](/forum/attachment/28465 "invoice.png")

regards
Trevor

** Update ***
I have just tested this on another site (off-line) and the results are the same.
***

- [ ![vendor-control-panel.png](/forum/attachment/28463) ](/forum/attachment/28463 "...trol-panel.png") [ ](/forum/attachment/28463?download=1 "...trol-panel.png")
- [ ![admin-area.png](/forum/attachment/28464) ](/forum/attachment/28464 "admin-area.png") [ ](/forum/attachment/28464?download=1 "admin-area.png")
- [ ![invoice.png](/forum/attachment/28465) ](/forum/attachment/28465 "invoice.png") [ ](/forum/attachment/28465?download=1 "invoice.png")

Last edit: 10 years 11 months ago by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile").

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

10 years 11 months ago -  10 years 11 months ago [\#224125](#224125) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Products duplicated in Vendor Control Panel](/forum/22-market-bug-report/881086-products-duplicated-in-vendor-control-panel#224125 "-- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4.29  When products have options they are duplicated in the order product list in the vendor control panel:  Product list in the vendor control panel  Product list for the same order in the hikashop back end admin  The invoice is correct:  regards Trevor  &#42;&#42; Update &#42;&#42;&#42; I have just tested this on another site (off-line) and the results are the same. &#42;&#42;&#42;")*

Hi,

Thanks for the report.
In the file "components/com_hikamarket/views/ordermarket/view.html.php" please remove the code Code:

if($options) { foreach($products as &amp;$product) { if(!empty($product['product'])) $order-&gt;products[] = $product['product']; if(!empty($product['options'])) { foreach($product['options'] as &amp;$opt) { $order-&gt;products[] = $opt; } unset($opt); } } unset($product); }

That block of code has been modified with the new design for the vendor order and has introduced that issue.
I'm working on the new order design for the main vendor ; I added a test case with some product options to be sure that the problem will be solve.

Regards,

---

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

Last edit: 10 years 11 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: fix "productmarket" &gt; "ordermarket"

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

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

10 years 11 months ago [\#224130](#224130) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  Replied by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")* on topic *[Products duplicated in Vendor Control Panel](/forum/22-market-bug-report/881086-products-duplicated-in-vendor-control-panel#224130 "-- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4.29  When products have options they are duplicated in the order product list in the vendor control panel:  Product list in the vendor control panel  Product list for the same order in the hikashop back end admin  The invoice is correct:  regards Trevor  &#42;&#42; Update &#42;&#42;&#42; I have just tested this on another site (off-line) and the results are the same. &#42;&#42;&#42;")*

Hi Jerome

I cant find those lines in the file 'components/com_hikamarket/views/productmarket/view.html.php'
What are the line numbers?

regards
Trevor

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

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

10 years 11 months ago -  10 years 11 months ago [\#224132](#224132) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  Replied by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")* on topic *[Products duplicated in Vendor Control Panel](/forum/22-market-bug-report/881086-products-duplicated-in-vendor-control-panel#224132 "-- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4.29  When products have options they are duplicated in the order product list in the vendor control panel:  Product list in the vendor control panel  Product list for the same order in the hikashop back end admin  The invoice is correct:  regards Trevor  &#42;&#42; Update &#42;&#42;&#42; I have just tested this on another site (off-line) and the results are the same. &#42;&#42;&#42;")*

Did you mean "components/com_hikamarket/views/ordermarket/view.html.php" perhaps?

I have removed those lines from that file and the problem has been resolved thanks.

regards
Trevor

Last edit: 10 years 11 months ago by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile").

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

10 years 11 months ago [\#224135](#224135) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Products duplicated in Vendor Control Panel](/forum/22-market-bug-report/881086-products-duplicated-in-vendor-control-panel#224135 "-- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4.29  When products have options they are duplicated in the order product list in the vendor control panel:  Product list in the vendor control panel  Product list for the same order in the hikashop back end admin  The invoice is correct:  regards Trevor  &#42;&#42; Update &#42;&#42;&#42; I have just tested this on another site (off-line) and the results are the same. &#42;&#42;&#42;")*

Hi,

Yes, ordermarket ; sorry for the confusion.

Regards,

---

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

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

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.065 seconds

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