How to show combinations tab pro below the product short description?
HelloIt depends on how theme is created and where developer put shortcodes to run hooks (hook is a prestashop's feature that displays a modules).
Below you can find list of positions that "combinations table" module supports.
In PrestaShop 1.6:
positions used by module in 1.6.x releases of presta:
- productTab (productTab+productTabContent)
- extraLeft
- extraRight
- productActions
- productFooter
- CombinationsTable
In PrestaShop 1.7:
positions used by module in 1.7.x releases of presta:
- displayProductExtraContent (tabs)
- ProductFooter
- ExtraLeft
- ExtraRight
- displayProductAdditionalInfo
- CombinationsTable
How to move module under the short product description?
There are several possibilities. Examples below
1
- Firstly please go to modules > positions section,
- Search there for positions named: "displayFooterProduct (so-called: displayProductFooter) and unhook "combinations table" module from this position.
- Do the same with position "displayProductTab" and "displayProductTabContents" - hit on "transplant module" button:
- on the next page from first dropdown select "combnations tab" module and from second select hook named "displayLeftColumnProduct":
- after save verify your product page where the combinations table appear,
2
- Go to modules > positions section,
- if position where you previously added a module is wrong (module does not appear there where you want) unhook module from this position - hit again on "transplant module" button:
- on the next page try to use different position "displayRightColumnProduct"
- after save verify your product page where the combinations table appear,
3
- Go to modules > positions section,
- if position where you previously added a module is wrong (module does not appear there where you want) unhook module from this position - hit again on "transplant module" button:
- on the next page try to use different position "displayProductButtons"
- after save verify your product page where the combinations table appear,
4
- Go to modules > positions section,
- if position where you previously added a module is wrong (module does not appear there where you want) unhook module from this position - if none of the default positions does not work as you wish it will be necessary to manually run a module in selected theme area
- in this case go to theme file: /themes/your-theme/product.tpl file
- search there for code like:
{if $product->description_short}
<div id="short_description_content" class="rte align_justify" itemprop="description">{$product->description_short}</div>
{/if}
- right before the code i added add this shortcode:
{hook h='CombinationsTable'}
- After save module should appear there where you want,
- if you do not see any change - it might be required to clear shop cache to see the changes immediately
0 comments:
Post a Comment