{** * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. *} {assign var="increment_icon" value="E145"} {assign var="decrement_icon" value="E15B"} {assign var="submit_icon" value="E5CA"} {assign var="cancel_icon" value="E5CD"} {assign var="increment_label" value={l s='Increase quantity of %product_name%' sprintf=['%product_name%' => $product.name] d='Shop.Theme.Actions'}} {assign var="decrement_label" value={l s='Decrease quantity of %product_name%' sprintf=['%product_name%' => $product.name] d='Shop.Theme.Actions'}} {assign var="quantity_label" value={l s='Change quantity of %product_name%' sprintf=['%product_name%' => $product.name] d='Shop.Theme.Actions'}} {* The spin button placement for RTL should be same as LTR *} {* To fix mirroring by CSS need to place them in reverse for RTL *} {if $language.is_rtl} {assign var="prepend" value=["button"=>"increment", "icon"=>$increment_icon, "confirm_icon"=>$submit_icon]} {assign var="append" value=["button"=>"decrement", "icon"=>$decrement_icon, "confirm_icon"=>$cancel_icon]} {else} {assign var="prepend" value=["button"=>"decrement", "icon"=>$decrement_icon, "confirm_icon"=>$cancel_icon]} {assign var="append" value=["button"=>"increment", "icon"=>$increment_icon, "confirm_icon"=>$submit_icon]} {/if}