Plugin: HikaShop

Description

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 a Smart-Newsletter or in a Newsletter to include a series of products based on the HikaShop categories. For example, you can create a Smart-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..

Plugin

Single product

HikaShop Products

You can use the HikaShop plugin to insert HikaShop products in your Newsletter. With this interface, you can select them one by one.

    • Display: Choose the way you want the products to be inserted in your newsletter

    • Price: You can display with / without discount or even don't display the price

    • Language: Choose in what language you want to display the products

Categories

HikaShop Categories

You can also use the HikaShop plugin to insert your products by category, just select the categories you want and Acy will insert the products belonging to those categories.

    • Max. number of items: The maximum number of products Acy will insert in your newsletter

    • Min. number of items: This option will be available if you access this plugin for an smart-newsletter. If Acy does not find at least X products, the smart-newsletter won't be generated.

    • Order by: Order the inserted products the way you want (by ID, title....)

    • Filter: This option will be available if you access this plugin for an smart-newsletter. If you use it, Acy will insert only the newly created products (since the last generation date)

Coupon

HikaShop Coupon

You can also use the HikaShop plugin to generate a coupon per receiver in a newsletter (make sure to personalize the coupon code with the [xxx] tags.

  • Code : This field indicates the code your visitor will have to enter to use the coupon on your shop. You can include in this coupon code tags which will be replaced during the send process :

    • [name] : will be replaced by the name of your user

    • [clean_name] : will be replaced by the name of your user which will be uppercased and cut up to the first space

    • [key] : will be replaced by a random key of 5 characters

    • [value] : will be replaced by the value of your coupon (you can directly replace it by the value of your coupon as it will be the same)

    • [subid] : will be replaced by the receiver's ID

    • [email] : will be replaced by the receiver's e-mail address

    • You can also add any string if you want... the coupon code "discountFor[name]" will be replaced by "dicountForJohn" during the send process.

  • Flat amount : You can enter the value of your coupon. It must be a numeric value. Alternatively, you can enter a percentage in the field below

  • Percentage : You can enter enter a percentage so that the coupon will grant a discount based on the order total amount.

  • Start date : You can enter a starting date for the coupon and it won't be usable before that date.

  • End date : You can enter an end date for the coupon and it won't be usable after that date.

  • Minimum order value : You can enter here a minimum amount under which the coupon can't be used.

  • Quota : You can enter here a quota for each coupon generated (for example, if you want to generate one coupon per person, and that one person can only use it once).

  • Product : You can choose to attach the created coupon to a specific HikaShop product with this option

Filters

Orders

HikaShop Coupon

With this filter, you can filter your AcyMailing users based on their orders and statuses.

For example, select all the Acy users that cancelled an order in the last 3 days, send them a newsletter to know why and how you could improve their experience with your shop.

Purchased products

HikaShop Coupon

With this filter, you can filter your AcyMailing users based on the products they bought / didn't buy.

For example, select all the Acy users that bought at least one products in the category "Ebooks" in the last 3 weeks and send them a newsletter with a 10% coupon so they'll come back and buy an other Ebook.

HikaShop field

HikaShop Coupon

Filter out your AcyMailing users based on their HikaShop fields.

For example, select all the Acy users with the Hika field "user_currency_id" set to "47" then subscribe them to the Spanish Acy list.

HikaShop address

HikaShop Coupon

You can also filter your AcyMailing users based on their HikaShop address.

For example, select all the Acy users that have at least one address in a specific country or region, then send them a newsletter with products mostly bought by people living in that country / region.

HikaShop reminder

HikaShop Coupon

With this filter, you can send a reminder to the users that bought a product but didn't pay yet.

Parameters

HikaShop product parameters

  • Custom template : You can create a custom view for the product insertion with this option

  • Add the VAT to the price : If you select to include the VAT, the price of the product will be displayed included the VAT.

  • Only products in stock : You can filter the products displayed to only show the ones in stock.

Customize your product template

By default, AcyMailing will display your product like the following screenshot:

preview products

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.

The name of the file should be hikashop_product.php

Create the custom template as explained here, on the created file you can access to the element $varFields that contains all the needed data.

You can display:

  • the name of your product: {product_name}

  • the description of your product: {product_description}

  • the price of your product: {finalPrice}

  • the product picture : {pictHTML}

  • the url of your product: {link}

Using all those variables, you can create your own product template.

For example:

<div class="acymailing_content">
    <h2>
        <a href="{link}">{product_name} {finalPrice}</a>
    </h2>
    {pictHTML}{product_description}
</div>

Last updated