-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from rohit053/v1.4.x
V1.4.1 released: Hotel wise permissions, order confirmation mail management, Pricing variants in upselling feature
- Loading branch information
Showing
539 changed files
with
14,110 additions
and
14,832 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 18 additions & 10 deletions
28
admin/themes/default/template/controllers/cart_rules/product_rule_itemlist.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,42 @@ | ||
<div class="col-lg-12 bootstrap"> | ||
<div class="col-lg-6"> | ||
<div class="col-lg-6 select-options-div"> | ||
{l s='Unselected'} | ||
<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}</option> | ||
<option {if !$item.htl_access}class="no-htl-access-option"{/if} data-htl_access="{$item.htl_access|intval}" value="{$item.id|intval}" title="{$item.name}"> {$item.name}</option> | ||
{/foreach} | ||
</select> | ||
<div class="clearfix"> </div> | ||
<a id="product_rule_select_{$product_rule_group_id|intval}_{$product_rule_id|intval}_add" class="btn btn-default btn-block" > | ||
<a id="product_rule_select_{$product_rule_group_id|intval}_{$product_rule_id|intval}_add" class="btn btn-default btn-block add-select-options" > | ||
{l s='Add'} | ||
<i class="icon-arrow-right"></i> | ||
</a> | ||
</div> | ||
<div class="col-lg-6"> | ||
<div class="col-lg-6 select-options-div"> | ||
{l s='Selected'} | ||
<select multiple size="10" name="product_rule_select_{$product_rule_group_id|intval}_{$product_rule_id|intval}[]" id="product_rule_select_{$product_rule_group_id|intval}_{$product_rule_id|intval}_2" class="product_rule_toselect" > | ||
{foreach from=$product_rule_itemlist.selected item='item'} | ||
<option value="{$item.id|intval}" title="{$item.name}"> {$item.name}</option> | ||
<option data-htl_access="{$item.htl_access|intval}" {if !$item.htl_access}class="no-htl-access-option"{/if} value="{$item.id|intval}" title="{$item.name}"> {$item.name}</option> | ||
{/foreach} | ||
</select> | ||
<div class="clearfix"> </div> | ||
<a id="product_rule_select_{$product_rule_group_id}_{$product_rule_id}_remove" class="btn btn-default btn-block" > | ||
<a id="product_rule_select_{$product_rule_group_id}_{$product_rule_id}_remove" class="btn btn-default btn-block add-select-options" > | ||
<i class="icon-arrow-left"></i> | ||
{l s='Remove'} | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
$('#product_rule_select_{$product_rule_group_id|intval}_{$product_rule_id|intval}_remove').click(function() { removeCartRuleOption(this); updateProductRuleShortDescription(this); }); | ||
$('#product_rule_select_{$product_rule_group_id|intval}_{$product_rule_id|intval}_add').click(function() { addCartRuleOption(this); updateProductRuleShortDescription(this); }); | ||
$(document).ready(function() { updateProductRuleShortDescription($('#product_rule_select_{$product_rule_group_id|intval}_{$product_rule_id|intval}_add')); }); | ||
$('#product_rule_select_{$product_rule_group_id|intval}_{$product_rule_id|intval}_remove').click(function() { | ||
removeCartRuleOption(this); | ||
updateProductRuleShortDescription(this); | ||
}); | ||
$('#product_rule_select_{$product_rule_group_id|intval}_{$product_rule_id|intval}_add').click(function() { | ||
addCartRuleOption(this); | ||
updateProductRuleShortDescription(this); | ||
}); | ||
$(document).ready(function() { | ||
updateProductRuleShortDescription($('#product_rule_select_{$product_rule_group_id|intval}_{$product_rule_id|intval}_add')); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.