Frontend news from July 23, 2024

Here is the first of Frontend updates that will be posted once per two weeks in this form.

Breaking Changes:

Dynamic loading of rating and discussion

August 1st we introduce the limit of Rating and Product discussion
The user will now have the option to limit the number of ratings and discussions in the admin. We will also show the button Show more, which will dynamically load more items.

We recommend updating Shoptet’s JavaScript for Blank template users beyond this date. Otherwise, the load button won’t work. Also, the buttons can be misplaced because of outdated CSS, so please update those as well.

Here is the preview of the upcoming changes:
https://github.com/shoptet/templates-assets/commit/f0c8db7c43283726dc9e62711ded2048a4da773d


Improvements

Cart identification in the dataLayer

We added cart identification into cartInfo containing the hash created for each cart. When the session expires, this hash changes as well. This identification is just for change recognition only; it has no API counterpart. After adding something to the cart try this in the console:

getShoptetDataLayer('cartInfo').id;

Bugfixes:

Visual addon boilerplate dependency

https://github.com/shoptet/create-visual-addon-boilerplate
Based on your feedback, we fixed the missing dependency that caused a build error when Shoptet Bender wasn’t enabled. We fixed this dependency, so now you can use our build step in any setting.

Hiding empty contact box in the cart

We fixed hiding an empty contact box on 3G templates when no contact information is selected.

Tango template registration alignment fix for Firefox browser

Minor alignment fix for the Tango template.

Fixed quantity amount change after variant selection

Based on your feedback, we fixed a bug. The correct quantity appears when the variant changes.

Parameters in the product detail

Now, on Samba, Disco, and Classic, the product parameters are shown even though the short description is empty and the discussion module is off. Also, we fixed the very same place in the mobile view on the Disco template.


What we plan in upcoming days:

Please note: the above outlook for 14 days is subject to change due to unexpected events or changes in priorities – we do not commit to delivering these outputs and outcomes. Thank you for your understanding.

Post navigation