Post by ndim_pro » Tue Jun 12, 2018 2:43 pm

Hello everybody,

this is really frustrating and seems like an OpenCart bug to me.

Version 2.3.0.2 with Journal theme installed.

When an option of a product A (let's say the option: XL size) has zero quantity, and you choose on the side filter on that size, it brings me the product A as a result!

Try and you will see. Set an option to zero quantity with subract set to yes and open the category view. Choose the option that you know you have zero quanity on a specific product and check the filtered products. The one with zero quantity will be there!

Any ideas on how to fix this?

User avatar
New member

Posts

Joined
Fri Nov 04, 2016 4:49 pm
Location - Thessaloniki, Greece

Post by synapseindia » Tue Jun 12, 2018 4:35 pm

Hi,

You can modify the product.php file based on your needs. Also you can create a ocmod file to do the same.
As you have to modify the below function -

Code: Select all

 public function getProducts($data = array()) { 
Thanks.

User avatar
Active Member

Posts

Joined
Thu Apr 05, 2018 2:27 pm

Post by thekrotek » Tue Jun 12, 2018 5:57 pm

Most likely you're talking about Journal filters. So contact theme developers on the matter.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am

Who is online

Users browsing this forum: No registered users and 90 guests