Forum Forum Magento Theme SNS Nova – Magento Theme Cross Sells Popup – Order By Position

  • Author
    Posts
  • #13178

    splitpixel
    Participant

    Hi,

    On the cross sells section after add to basket it does not sort the cross sells by the position that is set in the backend.

    Is there some extra code I can add I tried changing:

    <?php if($_crossSellProducts = $_product->getCrossSellProducts()): ?>

    to

    <?php if($_crossSellProducts = $_product->getCrossSellProducts()->addAttributeToSort(‘position’)): ?>

    With no luck!

    Thanks

You must be logged in to reply to this topic. Click here to login or register