- Posts: 306
- Thank you received: 42
Products duplicated in Vendor Control Panel
10 years 9 months ago - 10 years 9 months ago #224116
by trevsmiff
Products duplicated in Vendor Control Panel was created by trevsmiff
-- 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
** Update ***
I have just tested this on another site (off-line) and the results are the same.
***
-- 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
** Update ***
I have just tested this on another site (off-line) and the results are the same.
***
Last edit: 10 years 9 months ago by trevsmiff.
Please Log in or Create an account to join the conversation.
10 years 9 months ago - 10 years 9 months ago #224125
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Products duplicated in Vendor Control Panel
Hi,
Thanks for the report.
In the file "components/com_hikamarket/views/ordermarket/view.html.php" please remove the code
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,
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 &$product) {
if(!empty($product['product']))
$order->products[] = $product['product'];
if(!empty($product['options'])) {
foreach($product['options'] as &$opt) {
$order->products[] = $opt;
}
unset($opt);
}
}
unset($product);
}
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 & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 10 years 9 months ago by Jerome. Reason: fix "productmarket" > "ordermarket"
Please Log in or Create an account to join the conversation.
10 years 9 months ago #224130
by trevsmiff
Replied by trevsmiff on topic Products duplicated in Vendor Control Panel
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
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 or Create an account to join the conversation.
10 years 9 months ago - 10 years 9 months ago #224132
by trevsmiff
Replied by trevsmiff on topic Products duplicated in Vendor Control Panel
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
I have removed those lines from that file and the problem has been resolved thanks.
regards
Trevor
Last edit: 10 years 9 months ago by trevsmiff.
Please Log in or Create an account to join the conversation.
10 years 9 months ago #224135
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Products duplicated in Vendor Control Panel
Hi,
Yes, ordermarket ; sorry for the confusion.
Regards,
Yes, ordermarket ; sorry for the confusion.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: trevsmiff
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.230 seconds