[DBTech] DragonByte eCommerce

xF2 Add-on [DBTech] DragonByte eCommerce 3.4.0

No permission to download
Update highlights

This release is a quick update to address an issue where visibility checks were not being performed for add-on products being displayed in the sidebar in the product view. This could lead to soft-deleted products, or products you have restricted permissions for, to still appear (albeit not purchasable).

To test whether this fix has resolved any issue you may be experiencing, ensure the dbtech_ecommerce_product_wrapper template is either not customised or that this line:
<xf:foreach loop="$product.Children" value="$childProduct">
now reads:
<xf:foreach loop="$product.Children" value="$childProduct" if="$childProduct.canView()">
And then try viewing the product page as a guest (such as via Incognito mode).

As part of the process of reviewing this issue, I also found minor optimisation possibilities that slightly reduced the amount of queries needed to generate the product view page.


Complete Change Log

Change: Reduced the number of queries needed to load the product view page
Fix: Fixed an issue where visibility checks were not being performed on add-on products before display on the product view page
Top