Unleash the Full Potential of Your PrestaShop Store

Welcome to MyPresta.eu – Your reliable partner in the e-commerce world. Find innovative modules that will take your business to a new level.

Responsive sizes chart PopUp

In this videoguide and text tutorial i want to show you how easily you can build sizes chart popup in your shop. I will use my module to create responsive popups called "popup pro". Addon is necessary to build it because we want to display sizes chart inside popup that will be spawned when somoene will click on special butotn on product page - and module popup pro supports this feature.

 

How to create sizes chart popup:

  1. Open popup pro module configuration page
  2. Go to "add new popup" section
  3. Define settings of popup such "name"
  4. Switch option "active" to "no". (Module will not spawn popup automatically while someone will reach your page)
  5. Switch option "Test mode" to no
  6. Define own appearance settings like popup border, background, overlay color, opacity etc.
  7. Disable option "click anywhere" to close popup
  8. Define sizes chart in section where you put contents of popup
  9. To create sizes chart use "table" feature that is available in rich extended tinyMCE editor (module uses this verison of editor)
  10. Personalize the appearance of table with own colors and values
  11. Save popup

 

Create button to spawn popup

To create button that will spawn popup you created, you have to paste the special code to place, where you want to display the popup. It is possible to achieve this in two ways. First - modification of theme product.tpl file. With modification of this file you can display popup in place where it will meet your requirements. If you're not tech-handy you can use another module, like content box pro to put own contents to any part of shop you want - directly from shop back office.

 

  1. On PopUp pro module configuration page, please open "PopUp blocks" section
  2. Hover mouse over the popup you created
  3. Copy code that you see inside "textbox" after you hover mouse over the popup on popups list.
  4. Go to content box module  configuration page
  5. Activate "productActions" hook (it's a place below the add to cart button on product page)
  6. Click on green (+) button to add new block to this position
  7. Fill out form of block creation process with own specification (name field)
  8. Turn on html editor in rich text editor and paste code you previously copied on popup pro page.
  9. Save block

 

You can ofcourse customize any part of the visible things like size chart, button etc. Everything depends on you, modules are ready to put these customization - so you can personalize appearance both popup and button to fit your needs. Watch tutorial below, i show there  exactly the same way to create sizes chart inside popup as i described above.

Zdjęcie autora: Milosz Myszczuk

Artykuł napisany przez Milosza Myszczuka, eksperta PrestaShop i oficjalnego moderatora społeczności PrestaShop. CEO i założyciel agencji interaktywnej VEKIA. Dowiedz się więcej.

If you like this article, support our work!

Comments