- Posts: 45
- Thank you received: 0
Integration between acymailing and hikashop
8 years 7 months ago #288743
by bsimoes
Integration between acymailing and hikashop was created by bsimoes
-- HikaShop version -- : 3.3.0
-- Joomla version -- : 3.8.5
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Anyone
I use the integration with acymailing to create auto newsletters and i've a few problems:
- custom template don't works, i checked and i've the correct hikashop_product.php file but the newsletter show the standard template;
- the tag generator don't works correctly because for example i use the tag {hikashop_auto_product:209-| type:intro| min:1| max:5| order:product_id,DESC| filter:modify| price:none} and the newsletter created show the price.
-- Joomla version -- : 3.8.5
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Anyone
I use the integration with acymailing to create auto newsletters and i've a few problems:
- custom template don't works, i checked and i've the correct hikashop_product.php file but the newsletter show the standard template;
- the tag generator don't works correctly because for example i use the tag {hikashop_auto_product:209-| type:intro| min:1| max:5| order:product_id,DESC| filter:modify| price:none} and the newsletter created show the price.
Please Log in or Create an account to join the conversation.
8 years 7 months ago #288768
by nicolas
Replied by nicolas on topic Integration between acymailing and hikashop
Hi,
What do you have in your hikashop_product.php file and did you place it in the media/com_acymailing/plugins/ folder as needed for it to be found by the integration plugin ?
What do you have in your hikashop_product.php file and did you place it in the media/com_acymailing/plugins/ folder as needed for it to be found by the integration plugin ?
Please Log in or Create an account to join the conversation.
8 years 7 months ago #288817
by bsimoes
Replied by bsimoes on topic Integration between acymailing and hikashop
Hi Nicolas,
Thanks for you help. The name of the file created by the system is not the correct. The system created a file named hikashopproduct.php
After changed to the correct, now works.
And the second question: why even setting to not show the price in the plugin, the price is showed? As you can see in the print screen, in the tag the "price:none" but after in the newsletter the price is showed.
Best regards
Thanks for you help. The name of the file created by the system is not the correct. The system created a file named hikashopproduct.php
After changed to the correct, now works.
And the second question: why even setting to not show the price in the plugin, the price is showed? As you can see in the print screen, in the tag the "price:none" but after in the newsletter the price is showed.
Best regards
Please Log in or Create an account to join the conversation.
8 years 6 months ago #288838
by nicolas
Replied by nicolas on topic Integration between acymailing and hikashop
Hi,
I don't remember that AcyMailing had the capability to generate the file for you ?
But anyways, regarding the price issue:
What do you have in hikashop_product.php ? What if you just remove the {finalPrice} tag in it ?
I see that you're using auto tags and not normal tags. Do you have the same issue with normal product tags ?
I don't remember that AcyMailing had the capability to generate the file for you ?
But anyways, regarding the price issue:
What do you have in hikashop_product.php ? What if you just remove the {finalPrice} tag in it ?
I see that you're using auto tags and not normal tags. Do you have the same issue with normal product tags ?
Please Log in or Create an account to join the conversation.
8 years 6 months ago #288839
by bsimoes
Replied by bsimoes on topic Integration between acymailing and hikashop
Hi,
In custom template, if i remove the {finalPrice} tag the price is not shown.
Yes, i'm using auto tags for smart newsletters - is very useful in my case.
With normal tags, if is a product tag with price set to none works fine. If is a category tag (for example to put some product of same category) the price set to none don't works (the price is shown). So, the problem is with category tags.
Best regards,
Bruno
In custom template, if i remove the {finalPrice} tag the price is not shown.
Yes, i'm using auto tags for smart newsletters - is very useful in my case.
With normal tags, if is a product tag with price set to none works fine. If is a category tag (for example to put some product of same category) the price set to none don't works (the price is shown). So, the problem is with category tags.
Best regards,
Bruno
Please Log in or Create an account to join the conversation.
8 years 6 months ago #288841
by nicolas
Replied by nicolas on topic Integration between acymailing and hikashop
Hi,
Thanks for the additional details.
Add the line:
after the line:
in the file plugins/acymailing/hikashop/hikashop.php and that will allow the system to handle the price setting in the auto (smart) newsletters.
We'll add that patch on our end too.
Thanks for the additional details.
Add the line:
Code:
if(!empty($parameter->price)) $args[] = 'price:'.$parameter->price;
Code:
if(!empty($parameter->lang)) $args[] = 'lang:'.$parameter->lang;
We'll add that patch on our end too.
Please Log in or Create an account to join the conversation.
8 years 6 months ago #288875
by bsimoes
Replied by bsimoes on topic Integration between acymailing and hikashop
Hi Nicolas,
Works perfect now!!
Thanks for your help.
Best resgards,
Bruno
Works perfect now!!
Thanks for your help.
Best resgards,
Bruno
Please Log in or Create an account to join the conversation.
Time to create page: 0.205 seconds