This plugin enables you to insert in your Newsletter one or several products from HikaShop. You can search in all your products and then click on one of the products to include it in your Newsletter.
It will replace the generated tag by the name, the price (with or without VAT based on your plugin configuration) the main picture and the short description or the full description of your product (based on your configuration).
You can also use this plugin in an auto-Newsletter or in a Newsletter to include a series of products based on the HikaShop categories.
For example, you can create an auto-Newsletter and include a tag to send the newly created products belonging to one or several categories.
This plugin enables you to generate and include in your Newsletter a personal HikaShop Coupon. For each receiver, the plugin will first add a new coupon in HikaShop and then include it in your Newsletter.
This plugin is available in HikaShop Essential and Business and works with all the versions of AcyMailing..
By default, AcyMailing will display your product like the following screenshot:
You can change the styles used for the product title and the product area by editing your AcyMailing template.
You can also modify the way your product is displayed by creating your own template which will be used to render the product.
Please follow those instructions, we don't recommend you to modify the hikashop plugin directly otherwise your changes will be overwritten when you update HikaShop.
Create a file in the the folder media / com_acymailing / plugins (if the folder does not exists, please create it first).
(Before AcyMailing 1.7.0, the file was located in components / com_acymailing / templates / plugins)
The name of the file should be hikashop_product.php
If this file is available on your server, AcyMailing will use it and won't use the default one.
On this file you can access to the element $product (which is the product object loaded from the hikashop_product table).
You can display:
- the name of your product: $product->product_name
- the description of your product: $product->product_description
- the price of your product: $finalPrice
- the product picture : $image = hikashop_get('helper.image'); echo $image->display($product->file_path,false,$product->product_name);
- the url of your product: $link
Using all those variables, you can create your own product template.