Okay
  Public Ticket #1235061
Special product block
Closed

Comments

  • Mauro Chiappa started the conversation

    I would like to select some products to insert into the "special product" block inserted in the homepage, but I did not understand how to do it. If it is not possible to select products, I would like to know which parameters are selected and in what order they are displayed

    thank you Mauro

  •  257
    Martin replied

    Hi Mauro Chiappa,

    They will receive the products being discounted,

    So you need to set up some products to get them.

    Best Regards,
    Martin - FieldThemes

  • Mauro Chiappa replied

    Thank you for your answer

    I have many products on offer and the box works well, but I can not figure out in which order they appear. At the homepage I would like to view 2 selected products. What are the first 2 products that are displayed?

    Thank you

  •  1,588
    Criss replied

    Hi Mauro Chiappa ,

    You need to replace the following fieldspecialproduct.php file:

    $specials_product = Product::getPricesDrop((int)$params['cookie']->id_lang, 0, Configuration::get('FIELD_SPECIALPLS_NBR'));
    

    replace by:

    $specials_product = Product::getPricesDrop((int)$params['cookie']->id_lang, 0, Conf

    Best Regards,
    Criss - FieldThemes