Jump to content

[SOLVED] How can I hide Asseccoires...


Recommended Posts

..from product page?

 

Hi,

 

I have a module which helps me to place the Accessoires on a better spot. But I have to hide the Asseccoires at the bottom of the page (Presta 1.6.0.9) When I <!-- ... --> the part in the Product.tpl It just crashes the layout by deleting the slider, but still shows the accessoires among themselves.

 

Thanks!

BEN

Link to comment
Share on other sites

hello

sorry for long waiting time for reply

i missed your replies here :/

 

anyway, i checked it a second ago.

 

to comment out accessories instead of:
 

{if isset($accessories) && $accessories}
			<!--<Accessories -->
			<section class="page-product-box flexslider_carousel_block">
				<h3 class="page-product-heading">{l s='Accessories'}</h3>
				{include file="$tpl_dir./product-slider.tpl" products=$accessories id='accessories_slider'}
			</section>
			<!--end Accessories -->
		{/if}

use:

{*
{if isset($accessories) && $accessories}
			<!--<Accessories -->
			<section class="page-product-box flexslider_carousel_block">
				<h3 class="page-product-heading">{l s='Accessories'}</h3>
				{include file="$tpl_dir./product-slider.tpl" products=$accessories id='accessories_slider'}
			</section>
			<!--end Accessories -->
		{/if}
*}

be aware! make sure that you're not commenting too much!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...