Hot answers tagged


Stumbled upon this looking to answer similar problem. You should be able to do this now without a plugin, using the multisort filter where you iterate through your profiles, e.g.: {% for profile in profiles|multisort(['profileLastname'],[SORT_ASC],[SORT_REGULAR]) %}


Managed to solve this. First, I've added a categories field to the order form. On the checkout page I loop over all lineItems in the cart and collect the category id's like this. {% set categoryIds = [] %} {% for item in cart.lineItems %} {% set categories = item.purchasable.product.productGroup.leaves().all()%} {% for category in categories %} {% ...


Yeh there's few workarounds. Your entries field is close to what Nathanial from P&T mentioned on the issue tracker: If you create a global set and add a custom product field. Then select all the products. This gives you the ability to drag and drop the order of the products. You can use this in conjunction with the on save event and catch the save of ...

Only top voted, non community-wiki answers of a minimum length are eligible