{if $mode == 'add'}{trans key="common.add"}{else}{trans key="common.editing"}{/if} {trans key="product.product"} {$title} {if $mode != 'add'}{/if}

{trans key="common.cancel"} {if $qrCodesActive && $mode == 'update'} {trans key="product.qr_code"} {/if} {if $widgetsActive && $mode == 'update'} {trans key="product.widgets"} {/if} {if $mode == 'add'} {/if}

{form form=$form}
{if $mode == 'update'}
{include file="templates/pages/product/modal-attribute.html"} {include file="templates/pages/product/modal-variant.html"} {include file="templates/pages/product/modal-assign-features-groups.html"} {include file="templates/pages/product/modal-product-feature.html"} {include file="templates/pages/product/modal-promotion.html"} {include file="templates/pages/product/modal-quantity-discount.html"} {if $qrCodesActive} {include file="templates/pages/product/modal-qr-code.html"} {/if} {if $widgetsActive} {include file="templates/pages/product/modal-widgets.html"} {/if} {if $globalAttributesForm} {include file="templates/pages/product/modal-global-attributes.html"} {/if} {if $qrCodesActive} {/if} {if $widgetsActive} {/if} {/if} {*START SAFETYNET SWATCHES*} {include file="templates/pages/safetynet_swatches/product.html" type="variants"} {*END SAFETYNET SWATCHES*}