- Posts: 7
- Thank you received: 0
categoreies repead for each product
10 years 7 months ago #228176
by mrsadeqij
categoreies repead for each product was created by mrsadeqij
i have a category (category 1) and 3 product in this category and i use hika module to see category in vendor page.
The output is as follows
category 1
category 1
category 1
If again I add a product
category 1
category 1
category 1
category 1
:blink:
this should show only once
category 1
The output is as follows
category 1
category 1
category 1
If again I add a product
category 1
category 1
category 1
category 1
:blink:
this should show only once
category 1
Please Log in or Create an account to join the conversation.
10 years 7 months ago #228206
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 categoreies repead for each product
Hi,
Can you please provide some links or screenshots in order to illustrate your issue ?
I have to admit that, like that, I don't understand anything at your message.
Regards,
Can you please provide some links or screenshots in order to illustrate your issue ?
I have to admit that, like that, I don't understand anything at your message.
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.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #228223
by mrsadeqij
Replied by mrsadeqij on topic categoreies repead for each product
The problem is in vendor page
Please Log in or Create an account to join the conversation.
10 years 7 months ago #228236
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 categoreies repead for each product
Hi,
Would it be possible to have details about the configuration of that module ?
So we could try to reproduce your issue in our end ; and try to find a fix too.
Regards,
Would it be possible to have details about the configuration of that module ?
So we could try to reproduce your issue in our end ; and try to find a fix too.
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.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #228257
by mrsadeqij
Replied by mrsadeqij on topic categoreies repead for each product
Please Log in or Create an account to join the conversation.
10 years 7 months ago #228317
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 categoreies repead for each product
Hi,
In the file "administrator/components/com_hikamarket/classes/category.php" please replace
By
It will skip the synchronization when display a vendor listing and where there is no "vendor id" to synchronize with.
Regards,
In the file "administrator/components/com_hikamarket/classes/category.php" please replace
Code:
$option = JRequest::getString('option','');
$ctrl = JRequest::getString('ctrl','');
$viewName = $view->getName();
if($option != HIKAMARKET_COMPONENT || $ctrl != 'vendor' || $viewName != 'category')
return;
Code:
$option = JRequest::getString('option','');
$ctrl = JRequest::getString('ctrl','');
$task = JRequest::getString('task','');
$viewName = $view->getName();
if($option != HIKAMARKET_COMPONENT || $ctrl != 'vendor' || $task != 'show' || $viewName != 'category')
return;
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.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #228322
by mrsadeqij
Replied by mrsadeqij on topic categoreies repead for each product
i find ths code
is it right ?
Code:
$option = JRequest::getString('option', '');
$ctrl = JRequest::getString('ctrl', '');
$viewName = $view->getName();
if ($option == HIKAMARKET_COMPONENT && $ctrl == 'vendor' && $viewName == 'category') {
$content_synchronize = $view->params->get('content_synchronize', 0);
if (!$content_synchronize)
return;
Please Log in or Create an account to join the conversation.
10 years 7 months ago #228330
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 categoreies repead for each product
Hi,
Yes, it is the good part. But the file already had some modifications in the current development packages.
The idea is to also include the "task" in the checks to verify that the page is the "hikarmarket / vendor / show".
In your case it would be
Regards,
Yes, it is the good part. But the file already had some modifications in the current development packages.
The idea is to also include the "task" in the checks to verify that the page is the "hikarmarket / vendor / show".
In your case it would be
Code:
$option = JRequest::getString('option', '');
$ctrl = JRequest::getString('ctrl', '');
$task = JRequest::getString('task','');
$viewName = $view->getName();
if ($option == HIKAMARKET_COMPONENT && $ctrl == 'vendor' && $task == 'show' && $viewName == 'category') {
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.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.366 seconds