

servicios_programacion_web_backend
Did Prestashop Display
WordPress plugin
Show Prestashop products in your WordPress. Dynamic banner generator.


servicios_programacion_web_backend
Did Prestashop Display
WordPress plugin
Show Prestashop products in your WordPress. Dynamic banner generator.


Did Prestashop Display | Installation | Setting | Shortcode | Video | FAQs | Prices | Support at WordPress.org
Basic shortcode
To show the products it will be done through a simple shortcode.
The Shortcode will have some mandatory parameters and other optional parameters configured by default, which can be added and modified by default values.
An example of a basic shortcode ...
[dp_product id=15632 domain=0]
Description of the parameters ...
Parameters | Description | Mandatory / Optional | Default value |
---|---|---|---|
id | It is the id of the product of your Prestashop. | Obliged | |
domain | It is the key that has been created for this data source. You can have several data sources (PRO Version), so it is necessary to indicate which data source (Prestashop) we refer to. This key is indicated in the configuration. | Obliged |
Shortcode and all its parameters
In this table you will see all the shortcode configuration possibilities. List of parameters for the shortcode.
[ dp_product id=XXX type=X domain=X lang=X name="Text" description="text" button="Text" with_taxes=X with_price=X track="X" currency=X ]
Parameter | Description | Mandatory / Optional | Default value |
---|---|---|---|
id | It is the id of the product of your Prestashop. | Obliged | |
domain | It is the key that has been created for this data source. You can have several data sources (PRO Version), so it is necessary to indicate which data source (Prestashop) we refer to. This key is indicated in the configuration. | Obliged | |
type |
The type of display. Below are the current available displays.
a = banner display.. b = link type display. | Optional | a |
lang |
Here you can determine the language of the font (Prestahop).
The logic is as follows: - By default it searches the current language of the wordppress. - In the event that the current language does not exist in the Prestashop, it will return the language with the lowest Prestashop id. - If a specific language id is placed, the one specified in the language will appear as long as it exists and is active in Prestashop. It must be taken into account that the language must be active. In the configuration we can see or check if they are active and what languages the Prestashop has.shop. | Optional | WordPress default language (iso_code). Example: es, en, de, fr, etc. |
name | The name of the product, in the case of using this parameter, will be replaced by the original name of the product. | Optional | The product name |
description | A brief description of the banner. In the case of using this parameter it substitutes the original description of the produc | Opcional | The brief description of the product. |
button | You can customize the text of the action button. In case the product is out of stock, you have to find the text in the translator. | Optional | "More information" |
with_taxes |
Determine if you want to show taxes.
- 0 = Does not show taxes in prices. - 1 = Show price with tax. | Optional | 1 |
with_price |
To show prices.. - 0 = Does not show the price. - 1 = Show the price. | Optional | 1 |
currency | The currency icon. | Optional | € |
track | Available in the PRO version. You can add a Track to the destination link. | Optional |
Example of using optional parameters...
