Hikashop Google Products Plugin

  • Posts: 173
  • Thank you received: 4
6 years 7 months ago #289379

-- 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,

Please Log in or Create an account to join the conversation.

  • Posts: 26146
  • Thank you received: 4026
  • MODERATOR
6 years 7 months ago #289413

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 :

	$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.052 seconds
Powered by Kunena Forum