PHP 7.3
Joomla 3.9.13
Phoca Cart 3.4
Premier Template base
Gantry5
Hi,
I have a site that is running attributes on certain products and this works great,but I have one problem
In Category View, products with attributes show Out of Stock. On Product View, they show In Stock
I have turned off all caching for now to test properly and cannot figure out why this is.
I have set products with attributes this way
Product parent has stock of 1
Attributes have their correct stock number. each product only has one attribute (Size, Colour or Flavour for example)
Stock Calculation for product is set to Product Variation
Minimum Quantity Calculation is set to Product Variation
Stock Status field are set correctly
In Main Options in Phoca Dashboard stock is set to show in All Views.
Has anyone else come across this and fixed it?
Regards
David
Help understanding In Stock display with product attributes
- dmlwebal
- Phoca Professional
- Posts: 238
- Joined: 18 Sep 2019, 12:49
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Help understanding In Stock display with product attributes
Hi, can you paste a screenshot of category and item view.
Testing now, get no problem, the stock status changes dynamically when the attribute option is changed
https://www.phoca.cz/documents/116-phoc ... management
Jan
Testing now, get no problem, the stock status changes dynamically when the attribute option is changed
https://www.phoca.cz/documents/116-phoc ... management
Jan
If you find Phoca extensions useful, please support the project
- dmlwebal
- Phoca Professional
- Posts: 238
- Joined: 18 Sep 2019, 12:49
Re: Help understanding In Stock display with product attributes
Hi Jan
Thank you for your reply. I should explain more clearly. Firstly, I do not show exact stock levels, only that a product is 'In Stock' or 'Out of Stock'
The problem is shown below
The image on the left is the product in product list view, the image on the right is the product view
On the Product List view the item is shown as Out of Stock, but on Product View is shown as In Stock
I have set products with attributes this way
Product parent has stock of 1
Attributes have their correct stock number. each product only has one attribute (Size, Colour or Flavour for example)
Stock Calculation for product is set to Product Variation
Minimum Quantity Calculation is set to Product Variation
Stock Status field are set correctly
In Main Options in Phoca Dashboard stock is set to show in All Views.
The cart behaves correctly so the only problem is the stock calculation in Product List View
Regards
David
Thank you for your reply. I should explain more clearly. Firstly, I do not show exact stock levels, only that a product is 'In Stock' or 'Out of Stock'
The problem is shown below
The image on the left is the product in product list view, the image on the right is the product view
On the Product List view the item is shown as Out of Stock, but on Product View is shown as In Stock
I have set products with attributes this way
Product parent has stock of 1
Attributes have their correct stock number. each product only has one attribute (Size, Colour or Flavour for example)
Stock Calculation for product is set to Product Variation
Minimum Quantity Calculation is set to Product Variation
Stock Status field are set correctly
In Main Options in Phoca Dashboard stock is set to show in All Views.
The cart behaves correctly so the only problem is the stock calculation in Product List View
Regards
David
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Help understanding In Stock display with product attributes
Hi, the problem is, I am testing it now and cannot get such behaviour.
If main product has some items on stock
If product variation even has some items on stock, there is no reason to display out of stock information.
The only idea is, if you can share the super user login to your site for me, so I can test it directly on the site (via PM message)
Jan
If main product has some items on stock
If product variation even has some items on stock, there is no reason to display out of stock information.
The only idea is, if you can share the super user login to your site for me, so I can test it directly on the site (via PM message)
Jan
If you find Phoca extensions useful, please support the project
- dmlwebal
- Phoca Professional
- Posts: 238
- Joined: 18 Sep 2019, 12:49
Re: Help understanding In Stock display with product attributes
Hi Jan,
Thank you, I have a copy of the live site on a test server. I shall pm it to you
Regards
David
Thank you, I have a copy of the live site on a test server. I shall pm it to you
Regards
David
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Help understanding In Stock display with product attributes
Ok
If you find Phoca extensions useful, please support the project