Jump to content

Add Item Reference In Cart Rules Admin


greanman

Recommended Posts

We have a number of products that are required to use the same name so when creating cart rules including these items it is a process of trial and error to select the correct item.

 

To address this I would like to add the product reference code to the fancybox pop-up in Cart Rules.

 

I have identified the area in lines 4-8 and 17-21 of product_rule_itemlist.tpl

but can't get $item.reference or any other variations that I've tried to work.

 

<select multiple size="10" id="product_rule_select_{$product_rule_group_id|intval}_{$product_rule_id|intval}_1">

{foreach from=$product_rule_itemlist.unselected item='item'}

<option value="{$item.id|intval}" title="{$item.name}"> {$item.name} - {$item.reference}</option>

{/foreach}

</select>

 

 

Any help would be greatly appreciated.

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