If you offer subshops in different languages, you have the opportunity to add translations for individual snippets in the backend. To do this, first open Configuration → Basic Settings → Shop Settings → Shops and select the respective subshop. Then select the appropriate combination of language and country in the field Localization. All entries from Configuration → Basic Settings → Shop Settings → Localizations are available.
In the snippet administration in Configuration → Snippets you will find all snippets sorted by different categories.
To edit one of the snippets, click on the globe symbol. A window opens in which you can enter an individual text for the desired localisation. It is also possible to use Smarty variables instead of just text; you can find some examples below.
Useful Snippets
In the following, we introduce some practical snippets, including tips on how you can use them to make your shop even more individual. The quickest way to find all the text snippets is to use the search bar in the text snippet management.
Pickware POS
viison_pickware_pos: All snippets used in the POS app can be found under this name. In this way, for example, receipts can be created for subshops in other languages. With customer_display you can adjust the text that is displayed on the customer display. After you have made the changes, you need to empty the cache and log in to the app again.
Export for DATEV powered by Pickware
With this snippet you can edit certain invoice texts used by the plugin, e.g. "Tax-free export delivery according to §4 No. 1b UStG".
Shipping Adapters
transfer_customer_contact_data_allowed_label: If you have selected the option On customer request for the option Transfer customer e-mail address to [shipping provider] in the plugin configuration of your shipping adapter, a checkbox will appear in the frontend whose text you can edit by using this snippet. You can use the following text as an example. The variable $sDispatch.name represents the name of the selected dispatch type:
I agree that my e-mail address will be transmitted to {if $sDispatch.name == "DHL"}
DHL {elseif $sDispatch.name =="DPD"} DPD {else} the shipping provider
{/if}.
You can find detailed instructions in this article.
Gift Vouchers
DetailDataInfoInstock: With this snippet you can adjust the information on the expected delivery time of an item in the frontend. With the following adjustment, a different notice appears for vouchers (no delivery time, as they are usually sent immediately by e-mail) than for regular items:
{if $sArticle.viison_coupon} Immediate voucher dispatch after
receipt of payment
{elseif $sBasketItem.additional_details.viison_coupon}
Immediate voucher dispatch after
receipt of payment
{else}
Ready ti ship today, Delivery time appr. 1-3 workdays
{/if}
Product Sets
subarticlePrefix: With this snippet you can adjust the prefix of the sub-articles.