- Posts: 177
- Thank you received: 4
Hikashop Google Products Plugin
8 years 6 months ago #289379
by kchahine
Hikashop Google Products Plugin was created by kchahine
-- url of the page with the problem -- :
morenadancewear.com.au/
-- HikaShop version -- : 3.3.0
-- Joomla version -- : 3.8.5
-- PHP version -- : 7
Hi,
I am wondering if there is any way to specify which category of my products can be generated using Hikashop Google Products Plugin. It seems that this plugin generate all products. Is there a way to do so?
Regards,
-- HikaShop version -- : 3.3.0
-- Joomla version -- : 3.8.5
-- PHP version -- : 7
Hi,
I am wondering if there is any way to specify which category of my products can be generated using Hikashop Google Products Plugin. It seems that this plugin generate all products. Is there a way to do so?
Regards,
Please Log in or Create an account to join the conversation.
8 years 6 months ago #289413
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 Hikashop Google Products Plugin
Hello,
The plugin is designed to export all public published product and you have a setting to not export product without stock.
If you want to change how the plugin is acting, it would require to customize it.
But please note that if you modify the plugin, it will be restore with the next update ; so best would be to duplicate it so you will have your own.
The part of the plugin you want to customize is :
Regards,
The plugin is designed to export all public published product and you have a setting to not export product without stock.
If you want to change how the plugin is acting, it would require to customize it.
But please note that if you modify the plugin, it will be restore with the next update ; so best would be to duplicate it so you will have your own.
The part of the plugin you want to customize is :
Code:
$query = 'SELECT * FROM '.hikashop_table('product').' WHERE product_access=\'all\' AND product_published=1 AND product_type=\'main\'';
if(!empty($plugin->params['in_stock_only'])){
$query .= ' AND product_quantity!=0';
}
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: kchahine
Please Log in or Create an account to join the conversation.
Time to create page: 0.172 seconds