Skip to content
  1. Extras
  2. mxQuickView
  3. Administration

Admin guide ​

Where to configure ​

  • Manager: Settings → System settings
  • Filter: namespace = mxquickview
  • Area: mxquickview_main

The component has no dedicated manager page. Configuration is done via system settings and site templates/chunks.

Key settings ​

KeyDefaultControls
mxquickview_allowed_chunkmxqv_product,mxqv_resource,ms3_product_content,ms3_products_rowWhich chunks can be rendered (mxqv_resource — news, articles, pages)
mxquickview_allowed_snippetmsCart,msMiniCartWhich snippets can be rendered
mxquickview_allowed_templateWhich templates can be rendered
mxquickview_mouseover_delay300Delay before load on hover
mxquickview_modal_sizemodal-lgNative/bootstrap size (modal-sm, modal-lg, modal-xl)
mxquickview_debug0Console [mxqv] diagnostics when snippet debug is not set
mxquickview_fancybox_css[[++assets_url]]components/mxquickview/vendor/fancybox/fancybox.cssPath/URL for Fancybox CSS
mxquickview_fancybox_js[[++assets_url]]components/mxquickview/vendor/fancybox/fancybox.umd.jsPath/URL for Fancybox JS
mxquickview_bootstrap_css[[++assets_url]]components/mxquickview/vendor/bootstrap/bootstrap.min.cssPath/URL for Bootstrap CSS. Empty — files in vendor/bootstrap, then CDN
mxquickview_bootstrap_js[[++assets_url]]components/mxquickview/vendor/bootstrap/bootstrap.min.jsPath/URL for Bootstrap JS. Empty — files in vendor/bootstrap, then CDN

Snippet parameter modalLibrary accepts native, bootstrap, fancybox.

  1. Keep only trusted elements in the whitelist.
  2. Tune modal_size and mouseover_delay for the template.
  3. Include mxQuickView.initialize in the base template.
  4. Add quick view triggers to catalog cards.
  5. Test: click, mouseover, selector, loop.

Practical scenarios ​

Product card via chunk ​

  • Add a chunk (e.g. mxqv_product) to mxquickview_allowed_chunk.
  • On the product button:
    • data-mxqv-click
    • data-mxqv-mode="modal"
    • data-mxqv-action="chunk"
    • data-mxqv-element="mxqv_product"
    • data-mxqv-id="..."

Cart via snippet ​

  • Add a snippet (e.g. msCart) to mxquickview_allowed_snippet.
  • On the button: data-mxqv-action="snippet" and data-mxqv-element="msCart".

Render into your own container (no built-in modal) ​

  • On the trigger: data-mxqv-mode="selector".
  • Set data-mxqv-output=".css-selector".
  • JS inserts HTML into that container.

Native modal via CSS variables ​

  • For modalLibrary = native you can change styles without editing HTML/JS.
  • Override --mxqv-* in the theme after loading mxqv.css.
  • For modalLibrary = fancybox the component uses files in assets/components/mxquickview/vendor/fancybox/. If they are missing, CDN @fancyapps/ui is used.
  • For modalLibrary = bootstrap — files in assets/components/mxquickview/vendor/bootstrap/. If they are missing, Bootstrap CDN.
  • Commonly changed:
    • --mxqv-modal-size-lg, --mxqv-modal-size-xl
    • --mxqv-backdrop-bg
    • --mxqv-header-padding, --mxqv-body-padding
    • --mxqv-modal-bg, --mxqv-modal-shadow
  • Full list: API and interfaces → Native modal CSS variables.

allowed_template logic ​

template is always checked against whitelist mxquickview_allowed_template. If the list is empty, data_action="template" returns Template not allowed.

Pre-release checklist ​

  1. No extra elements in the whitelist.
  2. All triggers have a valid data-mxqv-id.
  3. Connector error responses checked (Chunk/Snippet/Template not allowed).
  4. For mode=selector, the target container exists in the DOM.
  5. If MiniShop3 is on the page and initialized, add to cart from quick view is tested.