Jump to content

Image generator product attributes


Recommended Posts

  • 1 month later...

Hi, I'm currently having problems with this, too.

 

When I add attributes to a product, and then select an attribute (ex. size) on the product page, a little green arrow appears under the thumbnails with a "Display all pictures" link, while hiding all but one of the thumbnails. I don't want this to happen, no hiding of thumbnails, no little green arrow.

 

But how to select all images with the Product combinations generator??

Link to comment
Share on other sites

product.tpl

 

		<div id="attributes">
		{foreach from=$groups key=id_attribute_group item=group}
		{if $group.attributes|@count}
		<p>
			<label for="group_{$id_attribute_group|intval}">{$group.name|escape:'htmlall':'UTF-8'}:</label>
			{assign var="groupName" value="group_$id_attribute_group"}
			<select name="{$groupName}" id="group_{$id_attribute_group|intval}" onchange="javascript:findCombination();{if $colors|@count > 0}$('#wrapResetImages').show('slow');{/if};">
				{foreach from=$group.attributes key=id_attribute item=group_attribute}
					<option value="{$id_attribute|intval}"{if (isset($smarty.get.$groupName) && $smarty.get.$groupName|intval == $id_attribute) || $group.default == $id_attribute} selected="selected"{/if} title="{$group_attribute|escape:'htmlall':'UTF-8'}">{$group_attribute|escape:'htmlall':'UTF-8'}</option>
				{/foreach}
			</select>
		</p>
		{/if}
		{/foreach}
		</div>

 

mb here need comment some code?

 

like "wrapResetImages"

Link to comment
Share on other sites

  • 5 months later...

Hi

Iam working with prestashop...i have a big problem in product page.

Generally beneath the product image we get the combination images of that product.No problem with that.

I want to show the attributes as a separate block along images, i.e when we select the attribute it should display the appropriate image of that attribute.

My requirement is i want to show the combination images beneath the product image and attributes with its appropriate images.

please help me......................

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...