Jump to content

add combination box to product listings


steve67

Recommended Posts

Is there a way to add a combination box to product listings?

I have added a quantity box using the instructions listed in this thread (http://www.prestashop.com/forums/viewthread/28136/general_discussion/add_quantity_box_to_product_listing) and it works great, but I would like to have a combo box to list different sizes of the same product on the product listings.

Link to comment
Share on other sites

I added the following to my product-list.tpl file. The product listing shows the title 'Size :' and a drop down box, but I cannot seem to get the combo box information to display properly. Any Ideas?


{l s='Size :'}
               {assign var='groupName' value='group_'|cat:$id_attribute_group}

                   {foreach from=$group.attributes key=id_attribute item=group_attribute}
{$group_attribute|escape:'htmlall':'UTF-8'}
                   {/foreach}

Link to comment
Share on other sites

  • 4 months later...

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