Jump to content

 

altechnics

Member Since 21 May 2012
Offline Last Active Aug 15 2020 06:45 AM
-----

Posts I've Made

In Topic: Add To Button And On Click Open Form In Modal Window

26 July 2020 - 06:34 PM

Thanks guys (or girls),

 

We had the same question and thanks to you it works.

 

We discovered 2 other problems:

  1. We had to add content='' to the code line
  2. It only works with store-owned forms and they should not be shared with other stores (we run multiple sites). If you create a form shared with other stores, the processing will not work.

Our code looks like this now:

{include file="common/popupbox.tpl" id="123" link_meta="ty-btn__primary" href="pages.view?page_id=123" link_text=__('my_form_button_text') text=__('my_form_header') content=''}