Nakatika Posted July 4, 2019 Share Posted July 4, 2019 Hello, How can I move and fit main description under the Photo? Please check attached photo. Link to comment Share on other sites More sharing options...
NemoPS Posted July 4, 2019 Share Posted July 4, 2019 Can you share the site's url? You will have to change the template files anyway, likely just product.tpl Link to comment Share on other sites More sharing options...
Nakatika Posted July 16, 2019 Author Share Posted July 16, 2019 On 7/4/2019 at 4:50 PM, NemoPS said: Can you share the site's url? You will have to change the template files anyway, likely just product.tpl www.aplenksave.lt Link to comment Share on other sites More sharing options...
NemoPS Posted July 17, 2019 Share Posted July 17, 2019 Looks like it's product.tpl There is a block with id pb-right-column, copy $product->description from where it is and past it there, then comment it out from the original location Link to comment Share on other sites More sharing options...
Nakatika Posted July 18, 2019 Author Share Posted July 18, 2019 20 hours ago, NemoPS said: Looks like it's product.tpl There is a block with id pb-right-column, copy $product->description from where it is and past it there, then comment it out from the original location <!-- description and features --> {if (isset($product) && $product->description) || (isset($features) && $features) || (isset($accessories) && $accessories) || (isset($HOOK_PRODUCT_TAB) && $HOOK_PRODUCT_TAB) || (isset($attachments) && $attachments) || isset($product) && $product->customizable} <div id="more_info_block" class="clearBoth"> <ul id="more_info_tabs" class="nolist idTabs idTabsShort clearfix"> {if $product->description}<li><a id="more_info_tab_more_info" href="#idTab1">{l s='More info'}</a></li>{/if} {if $features}<li><a id="more_info_tab_data_sheet" href="#idTab2">{l s='Data sheet'}</a></li>{/if} {if $attachments}<li><a id="more_info_tab_attachments" href="#idTab9">{l s='Download'}</a></li>{/if} {if isset($accessories) AND $accessories}<li><a href="#idTab4">{l s='Accessories'}</a></li>{/if} {if isset($product) && $product->customizable}<li><a href="#idTab10">{l s='Product customization'}</a></li>{/if} {$HOOK_PRODUCT_TAB} </ul> <div id="more_info_sheets" class="sheets align_justify"> {if isset($product) && $product->description} <!-- full description --> <div id="idTab1" class="rte">{$product->description}</div> {/if} {if isset($features) && $features} <!-- product's features --> <ul id="idTab2" class="bullet"> {foreach from=$features item=feature} {if isset($feature.value)} <li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'}</li> {/if} {/foreach} </ul> {/if} {if isset($attachments) && $attachments} <ul id="idTab9" class="bullet"> {foreach from=$attachments item=attachment} <li><a href="{$link->getPageLink('attachment', true, NULL, "id_attachment={$attachment.id_attachment}")|escape:'html'}">{$attachment.name|escape:'htmlall':'UTF-8'}</a></li> {/foreach} </ul> {/if} {if isset($accessories) AND $accessories} <!-- accessories --> <div id="idTab4"> <ul id="product_list" class="nolist grid"> {foreach from=$accessories item=accessory name=accessories_list} {*{if ($accessory.allow_oosp || $accessory.quantity_all_versions > 0 || $accessory.quantity > 0) AND $accessory.available_for_order AND !isset($restricted_country_mode)}*} {if $accessory.available_for_order AND !isset($restricted_country_mode)} {assign var='accessoryLink' value=$link->getProductLink($accessory.id_product, $accessory.link_rewrite, $accessory.category)} <li class="col-lg-4 col-sm-6 col-xs-6 col-ms-12"> <div> <p class="icons"> {if isset($accessory.new) && $accessory.new == 1}<span class="new_list">{l s='New'}</span>{/if} {if isset($accessory.on_sale) && $accessory.on_sale && isset($accessory.show_price) && $accessory.show_price && !$PS_CATALOG_MODE}<span class="on_sale_list">{l s='Sale'}</span> {elseif isset($accessory.reduction) && $accessory.reduction && isset($accessory.show_price) && $accessory.show_price && !$PS_CATALOG_MODE}<span class="discount_list">{l s='Promotion'}</span>{/if} </p> <a href="{$accessoryLink|escape:'html'}"><img class="img-responsive" src="{$link->getImageLink($accessory.link_rewrite, $accessory.id_image, 'ph_home')|escape:'html'}" alt="{$accessory.name|escape:'htmlall':'UTF-8'}" /></a> <div class="desc"> <h3><a href="{$accessoryLink|escape:'html'}" title="{l s='View product'} {$accessory.name|escape:'htmlall':'UTF-8'}">{$accessory.name|truncate:40:'...'|escape:'htmlall':'UTF-8'}</a></h3> {if $accessory.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}<span class="price">{if $priceDisplay != 1}{displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc}{/if}</span>{/if} <div class="info"> <div class="buttons-wrapper"> {if $theme_options['control_display_add2cart_accessories']} {if ($accessory.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $accessory.available_for_order && !isset($restricted_country_mode) && $accessory.minimal_quantity <= 1 && $accessory.customizable != 2 && !$PS_CATALOG_MODE} {if ($accessory.allow_oosp || $accessory.quantity > 0)} {if isset($static_token)} <a class="ajax_add_to_cart_button pull-left button yellow" rel="ajax_id_product_{$accessory.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$accessory.id_product|intval}&token={$static_token}", false)|escape:'html'}" title="{l s='Add to cart'}">{l s='Add to cart'}</a> {else} <a class="ajax_add_to_cart_button pull-left button yellow" rel="ajax_id_product_{$accessory.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$accessory.id_product|intval}", false)|escape:'html'}" title="{l s='Add to cart'}">{l s='Add to cart'}</a> {/if} {else} {/if} {/if} {/if} {if !$accessory.available_for_order || isset($restricted_country_mode) || $accessory.quantity < 1 && !$accessory.allow_oosp} {if $theme_options['control_display_noavailable_text']} <span class="noavailable_text">{$theme_options['control_noavailable_text']}</a></span> {/if} {/if} {if $theme_options['control_display_view_accessories']} <a href="{$accessory.link|escape:'html'}" title="{l s='View product'}" class="pull-right button">{l s='View product'}</a> {/if} </div> </div><!-- .info --> </div><!-- .desc --> </div> </li> {/if} {/foreach} </ul> </div> {/if} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now