Skip to main content

Prestashop App Integration

Goal: Create an integration for POWr Form Builder and POWr Social Feed to be listed in the Prestashop Addons Market. Once installing each App, the App can be easily added to any page or product in the Prestashop shop and edited on POWr.io.

Form Builder Specs

Scenario: Installing POWr Form Builder App on an Prestashop site should create a “POWr Form Builder” section in the Prestashop sidebar.

GIVEN a user with an Prestashop website,

WHEN user installs POWr Form Builder App

THEN “POWr Form Builder” section should appear at the bottom of the sidebar (or as close as possible)

alt_text

Scenario: Link to Create New Form Builder in “POWr Form Builder” section in the Prestashop sidebar.

GIVEN a user has installed POWr Form Builder App on Prestashop,

WHEN user clicks POWr Plugins section in the sidebar

THEN three submenu links should appear:

Create New Form Builder => https://www.powr.io/plugins/form-builder/standalone \ Manage POWr Plugins => https://www.powr.io/users/me

POWr Help => https://www.powr.io/knowledge-base

Scenario: user can add POWr Plugin from TinyMCE text editor.

GIVEN a user has installed POWr Form Builder App on Prestashop

WHEN user visits an editor page with TinyMCE editor (e.g. Product Editor OR Page Editor) \ THEN a POWr Icon should appear in TinyMCE \ AND the TinyMCE plugin should allow user to add any POWr Plugin to the text area

[Note we already have a TinyMCE plugin developed, we just need it properly inserted into these pages]

alt_text

Scenario: Form Builder App should support 1.6 and 1.7 versions of Prestashop.

GIVEN a user has Prestashop 1.6 or 1.7 \ WHEN a user installs POWr Form Builder App

THEN it should install successfully

Scenario: Form Builder App should pass the Prestashop technical validator:

WHEN I test POWr Form Builder App in the prestashop technical validor

THEN It should pass:

https://addons.prestashop.com/en/content/37-contributor-guide-technical-validation

Social Feed Specs

Identical to Form Builder specs with the following replacements: \ “Form Builder” => “Social Feed” \ “form-builder” => “social-feed”

Combined Specs

Scenario: Installing both POWr Form Builder and POWr Social feed should not create conflicts.

GIVEN a user with an Prestashop website,

AND user has installed POWr Social Feed App \ WHEN user installs POWr Form Builder App

THEN a “POWr Form Builder” sidebar menu should appear

AND a “POWr Social Feed” sidebar menu should appear \ AND a single POWr icon should appear in TinyMCE editors