[{d3modcfgcheck modid="d3oqm"}][{/d3modcfgcheck}] [{if !$oDetailsProduct->isNotBuyable() && $oxcmp_basket && $mod_d3oqm}] [{assign var="d3ThemeId" value=$oViewConf->getD3MappedThemeId()}] [{assign var='config' value=$oView->getConfig()}] [{if $d3ThemeId === 'azure'}] [{oxhasrights ident="TOBASKET"}] [{oxstyle include=$oViewConf->getModuleUrl("d3oqm", "out/css/d3oqm.css")}] oxarticles__d3oqm_maximum->value)}] data-max="[{$oDetailsProduct->oxarticles__d3oqm_maximum->value}]" [{/if}] [{if !empty($oDetailsProduct->oxarticles__d3oqm_package->value)}] data-step="[{$oDetailsProduct->oxarticles__d3oqm_package->value}]" [{elseif $config->getConfigParam('blAllowUnevenAmounts')}] data-step="any" [{/if}] class="textbox">
[{capture name="d3OQMUnitName"}]
[{if empty($oDetailsProduct->oxarticles__oxunitname->value)
&& (
empty($oDetailsProduct->oxarticles__oxunitquantity->value)
|| $oDetailsProduct->oxarticles__oxunitquantity->value == '1'
)
}]
[{oxmultilang ident="D3OQM_MSG_GENERAL1"}]
[{else}]
[{assign var="sStandardUnitName" value='D3OQM_MSG_GENERAL1'|oxmultilangassign}]
x [{$oDetailsProduct->getUnitQuantity()}] [{$oDetailsProduct->getUnitName()|default:$sStandardUnitName}]
[{/if}]
[{oxmultilang ident="D3OQM_MSG_GENERAL2"}]
[{/capture}]
[{if !empty($oDetailsProduct->oxarticles__d3oqm_minimum->value)}]
[{oxmultilang ident="D3OQM_MSG_MINIMUM"}]
[{$oDetailsProduct->oxarticles__d3oqm_minimum->value}][{$smarty.capture.d3OQMUnitName}]
[{/if}]
[{if !empty($oDetailsProduct->oxarticles__d3oqm_maximum->value)}]
[{oxmultilang ident="D3OQM_MSG_MAXIMUM"}]
[{$oDetailsProduct->oxarticles__d3oqm_maximum->value}][{$smarty.capture.d3OQMUnitName}]
[{/if}]
[{if !empty($oDetailsProduct->oxarticles__d3oqm_package->value)}]
[{oxmultilang ident="D3OQM_MSG_PACKAGE"}]
[{$oDetailsProduct->oxarticles__d3oqm_package->value}][{$smarty.capture.d3OQMUnitName}]
[{/if}]