- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 23.03.21, 00:25
- Opened by: Igor Kes
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #21116 - Stock display error
Hi,
we have an issue with displaying stock and dispatch time. Although we have stock available in product BO, on front it returns 0 stock.
An example:
https://dev.balticbhp.pl/snickers-6241-spodnie-robocze
In BO size 58 color blue available, in front it says 0.
Comments
sorry, but I don’t see the issue https://take.ms/apW1D
Hi,
please have a look on attached screens. There is an issue with displaying variation informations. This is why template does not display stock corectly. You can see variable product on screen. When I change colors price is correctly changed but reference number and stock quantity is not. And on 3rd screen you see errors in google chrome console.
Attachments:
stock1.PNG(273.7 KiB)stock2.PNG(446.8 KiB)163646832_445918013130014_415...(481.8 KiB)Did you add that yourself? because there is no such information in the theme by default
No, this is data from theme as wel as it is default prestashop field:
Index/reference (numer produktu)
Number of items in stock & Availability date
And it seems not to work properly (they do not change when I change color of product).
Have a look below this is a part of original template code:
{block name=’product_reference’}
I understand that, but did you moved that code?
It only works in it’s own place.
you can test it out on Classic prestashop theme
Ok, thank you. We have only this issue left. You can see it in attachement. This is an issue with picture slider on product page. Can you check and fix this issue? Thanks a lot.
Attachments:
163646832_445918013130014_415...(481.8 KiB)I don’t see that error. How to cause it?
Please enter for example this product https://dev.balticbhp.pl/snickers-spodnie-robocze-stretch-allroundwork-6341, and change color variation and then clic on ony photo in galery and then error in console will appear.
Attachments:
error.PNG(241.3 KiB)The issue has been fixed. Please test to confirm the change
Still the same issue when I change colours. For example this product: https://dev.balticbhp.pl/snickers-6241-spodnie-robocze
alysum.js:538 Uncaught TypeError: $(…).zoom is not a function
zoomperInit @ alysum.js:538
(anonymous) @ alysum.js:172
each @ core.js:28
each @ core.js:28
a @ alysum.js:27
each @ core.js:28
each @ core.js:28
(anonymous) @ alysum.js:27
childList (async)
(anonymous) @ core.js:39
$e @ core.js:39
replaceWith @ core.js:39
success @ core.js:261
u @ core.js:39
fireWith @ core.js:39
S @ core.js:39
(anonymous) @ core.js:39
load (async)
send @ core.js:39
ajax @ core.js:39
e.ajax @ core.js:92
(anonymous) @ core.js:261
setTimeout (async)
c @ core.js:261
(anonymous) @ core.js:261
u @ core.js:39
add @ core.js:39
(anonymous) @ core.js:261
i.emit @ theme.js:1
(anonymous) @ core.js:261
dispatch @ core.js:39
m.handle @ core.js:39
2productview.js:134 Uncaught TypeError: $(…).spritespin is not a function
Please test it out in incognito mode of your browser. Looks like a browser’s cache
I opened chrome in incognito mode plus did ctrl + F5 still the same issue when I clic other combination color.
Attachments:
error2.PNG(384.1 KiB)Please check out my screen record https://mega.nz/file/ENIEBDoK#aU9v9jcJGq2ro0-_9AC2aVFjez_8RUUrtclyYJcKU-k
I see only an error caused by your 360 view module
Please check my recording. Here you have recordings: https://drive.google.com/file/d/16B3GFptcOkZy-escVK5Qi15fSvLN6bbo/view?usp=sharing
I don’t understand how it’s possible because I have completely removed that line of JS code.
Tested out in another browser and see the same - https://take.ms/a3Hpc