Hi I have some cross sells that appear after adding to basket, when setting the "position" attribute in the backend for each cross sell it does not affect their actual order frontend!
The code is
<?php if($_crossSellProducts = $_product->getCrossSellProducts()): ?>
What can I add to this to get $_product->getCrossSellProducts() in order of their position?
I tried the following but get a blank popup so obviously errors.
<?php if($_crossSellProducts = $_product->getCrossSellProducts()->addAttributeToSort('position')): ?>
Thanks!