You are currently viewing the article on an older Shopware version!
The here described configurations are displayed in the checkout step 3.
{if $sUserData.additional.payment.name eq "cash"} plus 2,00 $ C.O.D. fee {/if}
{if $sBasketItem.purchaseunit && $sBasketItem.purchaseunit != 0}
<span class="price--label label--purchase-unit is--bold is--nowrap">
Content:
</span>
<span class="is--nowrap">
{$sBasketItem.purchaseunit|floatval} {$sBasketItem.additional_details.sUnit.description}
</span>
{/if}
{if $sBasketItem.purchaseunit && $sBasketItem.additional_details.referenceunit && $sBasketItem.purchaseunit != $sBasketItem.additional_details.referenceunit}
<span class="is--nowrap">
({$sBasketItem.additional_details.referenceprice|currency} * / {$sBasketItem.additional_details.referenceunit} {$sBasketItem.additional_details.sUnit.description})
</span>
{/if}
Please check whether all legally relevant information for you is stored, otherwise adapt the template accordingly.
The check of the general terms and conditions can be deactivated if you want to. For this you have to change the option Deactivate AGB terms checkbox on checkout page: to Yes at Configuration > Basic settings > Additional settings > Privacy.
This will remove the AGB-Box at the last checkout page.
The customer now could finish the checkout without confirmation of the general terms and conditions.
In the basic settings you can define for which amount the customer gets the option to request an individual inquiry for the products in the cart.
For this you have to change the option Minimum shopping cart value for offering individual requests: to the amount you want at Configuration > Basic settings > Frontend > Shopping cart / item details.
The frontend will now display this additional button Request offer (1) in the cart. To change the text of the button you can change the snipppet CheckoutActionsLinkOffer at Configuration > Snippets.
You can output your variables by pasting the following code in the template for essential characteristics. The example will restrict the output by IP:
{if $smarty.server.REMOTE_ADDR == 'xxx.xxx.xxx.xxx'} {$sBasketItem|print_r} {/if}
After clearing the cache all variables will output in the frontend. With this information you see directly which item data are available. This will look similar to this:
Array (
[id] => 670
[sessionID] => 702r4gndiokp62a6g3g5foed82
[userID] => 3
[articlename] => Münsterländer Aperitif 16%
[articleID] => 3
[ordernumber] => SW10003
[shippingfree] => 0
[quantity] => 1
[price] => 14,95
[netprice] => 12.563025210084
[tax_rate] => 19
[datum] => 2015-06-15 08:40:48
[modus] => 0
[esdarticle] => 0
[partnerID] =>
[lastviewport] => checkout
[useragent] => Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
[config] =>
[currencyFactor] => 1
[packunit] => Flasche(n)
[mainDetailId] => 3
[articleDetailId] => 3
[minpurchase] => 1
[taxID] => 1
[instock] => 25
[suppliernumber] =>
[maxpurchase] => 100
[purchasesteps] => 1
[purchaseunit] => 0.7000
[unitID] => 1
[laststock] => 0
[shippingtime] =>
[releasedate] =>
[sReleaseDate] =>
[ean] =>
[stockmin] => 0
[ob_attr1] =>
[ob_attr2] =>
[ob_attr3] =>
[ob_attr4] =>
[ob_attr5] =>
[ob_attr6] =>
.....