Q&A: move combinations table above the "more info"

PrestShop user question

Hello, I just bought your plugin "combinationstab". I would like to place the table just above "More Info" see example on the image attached below. Is there a way to achieve that ? If not, would it be possible if a buy your plugin "html box pro" ? Best regards,

PrestShop expert answer

It can be done in two ways. I will describe easiest method below.
This is description for PrestaShop 1.6.x - If you need to move it in PrestaShop 1.7.x - please let me know.

the easiest one - is related to simple modification of the product.tpl file.
We will have to move hook display footer execution code above the "more info"

in this case, please go to product.tpl file (located in your theme directory, default path to file is: /themes/default-bootstrap/product.tpl)
find there code like:

Cut this code and paste it right before code like:
{if !$content_only}
{if (isset($quantity_discounts) && count($quantity_discounts) > 0)}
      <!-- quantity discount -->
if you don't have code like this, please search for this one:
  </div> <!-- end pb-right-column-->
 </div> <!-- end primary_block -->
and paste hook execution code after this
Share on Google Plus


This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment


Post a Comment