My (workaround) for an inventory backorder system

  • Posts: 46
  • Thank you received: 3
7 years 9 months ago #261108

Are you accessing from France or from another country?

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #261109

Hi,

From France, but our ISP is also a web hosting company (OVH).

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.

  • Posts: 46
  • Thank you received: 3
7 years 9 months ago #261178

I have been discussing it with my hosting company and they are asking for your IP address. Could you, please, provide it? Thanks.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #261181

Hi,

No, we can't provide our IP in the forum.
Please use our "contact us" form.

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.

  • Posts: 46
  • Thank you received: 3
7 years 9 months ago #261603

I have received your IP and asked hosting company to fix it. Did you receive my message? It should be OK now. Could you, please, check it now? Thank you!

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #262203

Hi,

Nicolas gave you this code :

$filters[]=' (b.product_quantity=-1 OR  b.product_quantity<=1000 ) ';
So it will authorize the display of product with an unlimited quantity or with the quantity inferior (or equal) to 1000.
But, I have the impression that you want to display the product with a stock superior to 1000, right ?

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.

  • Posts: 46
  • Thank you received: 3
7 years 9 months ago #262306

Yes, you are right.
I have tried to change the code like this:
if($filter->filter_type=='instockcheckbox' && $infoGet[0]=='in_stock'){
$filters[]=' (b.product_quantity>1000) ';
}
But there´s no difference.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #262311

Hi,

Without knowing how your products are configured ; it will be difficult to say.
But I can see that you removed the product with an unlimited quantity.

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.

Time to create page: 0.070 seconds
Powered by Kunena Forum