Combinations tab module to right column product

Hello, I just purchased the combinations table module, it's great. But I need it on the right column of the product page, not in a tab or in the footer, I want to replace the original combination selector with the table. Is there any way to put the combinations table there? I'm using PS 1.7.5.2 and Transformer 4 theme. Thank you and best regards.

Hello,
It is possible to insert the combinations table to this section,
There are two possibilities.

First
Please go to design > positions, search there for "combinations tab pro" module and unhook it from positions: 

  • displayFooterProduct
  • displayProductExtraContent
  • displayProductTab
  • displayProductTabContent


It is important to unhook module from these positions to avoid conflicts between combination tables. Module can display only one combination table on each product page. If there will be more than 2 tables - module will not work.

Then click on "transplant a module" button: 

On next page configure "transplant a module" form:
- module: combinations tab pro
- transplant to: displayRightColumnProduct
as i show on screenshot: 


If somehow you will not have displyRightColumnProduct, please try version from attachment (you can find .zip file link at the bottom of my message - its a new version of the module).

apply changes,
from now module should appear inside right column on product page.
this method will work if transformer theme follows prestashop's standards according to hook positioning in template.
If combinations table module will not appear inside right column of product - it will be required to try another hook in "transplant a module" form: "displayRightColumn".

Second
if method described in first step will not work, it will be required to personalize the theme with custom hook usage. Module has own hook "CombinationsTable". 
Go to "design > positions" and verify if module is associated with this position (search for hook CombinationsTable with activated option "Display non-positionable hooks" https://i.imgur.com/gNBpQTT.png ). If not - use a "transplant a module" form and associate module with this hook.

Then it will be required to alter theme files. I do not know exact structure of files in transformer theme, but if it follows standards, the file should be:
/themes/your-theme/templates/layouts/layout-both-columns.tpl - inside rightcolumn paste this shortcode {hook h='CombinationsTable'}
from now module should appear inside right column.
Share on Google Plus

About VEKIA

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

0 comments:

Post a comment