Skip to content

Module settings

Open the settings via Modules → Module Manager → WEB Vision – Oznámenie o zákonnej záruke → Configure.

If you run several shops (multistore), the settings are saved for the shop selected in the admin header. Settings saved for “all shops” apply to shops that have no settings of their own.

Field Meaning
Text The text next to the icon. Entered for each shop language.
Link text and Link address An optional link next to the text (by default the Your Europe page). An empty link text hides the link.
Show on the product page Turns on the block on the product page.
Show in the footer Turns on the block in the shop footer.

The Appearance (Vzhľad) section is optional. An empty field means the default look.

Field Meaning
Main color The bar, link and outline.
Background Background of the line.
Text color Color of the text.
Corner radius Rounding of the block’s corners.

The setting in the module takes precedence over the theme CSS.

If you want to control colors from the theme, leave the Appearance fields empty and override the variables:

.mv-legalguarantee {
--mv-lg-accent: #c00; /* bar, link, outline */
--mv-lg-bg: #fff; /* background of the line */
--mv-lg-bg-hover: #fafafa;
--mv-lg-border: #ddd;
--mv-lg-text: #222;
--mv-lg-muted: #666; /* text under the heading */
--mv-lg-radius: 0;
}

Further variables: --mv-lg-accent-text, --mv-lg-border-hover, --mv-lg-link-bg, --mv-lg-shadow, --mv-lg-icon-size.

If you want the notice somewhere other than the module offers:

  • In a theme template: insert {widget name='mv_legalguarantee'} into any template. For the footer use {widget name='mv_legalguarantee' variant='footer'}.
  • Via positions: you can attach the module to another hook under Design → Positions.

The widget is shown even when the switches in the settings are off.

The Custom notice field is optional. Use it only if you need a different official version than the one supplied with the module. Upload an image of the notice for the given language.

  • Allowed formats: PNG, JPG and WEBP, at most 5 MB.
  • An uploaded notice takes precedence over the supplied one.
  • Files are stored in img/mv_legalguarantee/, so they survive a module update.

The Notices by language (Oznámenia podľa jazyka) panel shows for each language which notice is shown (supplied, uploaded, or from another language). You can also remove an uploaded notice here.

The notice is chosen like this: if the notice for the customer’s language is missing, the shop’s default language is used, then English.

Was this article helpful?