- Posts: 202
- Thank you received: 2
Include images with product tag in Acymailing?
Thanks!!
Please Log in or Create an account to join the conversation.
www.acyba.com/en/support/documentation/1...ashop.html#customize
There is also an explanation of the fields and how to customize the product information template.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You need to edit the file plugins/acymailing/hikashop.php and replace the line:
$query = 'SELECT a.* FROM '.acymailing::table('hikashop_product',false).' as a LEFT JOIN '.acymailing::table('hikashop_file',false).' as b ON a.product_id=b.file_ref_id AND file_type=\'product\' WHERE a.product_id = '.$tag->id.' LIMIT 1';
by:
$query = 'SELECT b.*,a.* FROM '.acymailing::table('hikashop_product',false).' as a LEFT JOIN '.acymailing::table('hikashop_file',false).' as b ON a.product_id=b.file_ref_id AND file_type=\'product\' WHERE a.product_id = '.$tag->id.' LIMIT 1';
and that should fix the problem. On our end, that fixed it and we can now see the thumbnail of the products.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I just used the integrated upgrade function this morning. Running Hikashop 1.4.7 on Joomla 1.6
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
That's actually what we have on our end. It seems that we already corrected that since last release on our dev website.
Please Log in or Create an account to join the conversation.
href=" www.thegragroup.com/storefront/index.php...11&mailid=18&subid=1 " ><img
src=" www.thegragroup.com/media/com_hikashop/u...nail/MILW_000016.jpg " alt="MILW_000016" height="20" width="150"
/></a></td><td></td></tr></table></div></p><img alt=""
src=" www.thegragroup.com/storefront/index.php...ts&mailid=18&subid=1 " border="0" height="1" width="50" />
Does that help?
Please Log in or Create an account to join the conversation.
$config =& hikashop::config();
$uploadFolder = ltrim(JPath::clean(html_entity_decode($config->get('uploadfolder'))),DS);
$uploadFolder = rtrim($uploadFolder,DS).DS;
$image->uploadFolder_url = str_replace(DS,'/',$uploadFolder);
$image->uploadFolder_url = JURI::base(true).'/'.$image->uploadFolder_url;
after the line:
$image = hikashop::get('helper.image');
in the plugin.
It seems that acymailing is not able to understand the path of the image when it parses the email...
Please Log in or Create an account to join the conversation.
src=" www.thegragroup.com/storefront/administr...nail/MILW_000016.jpg "
Rick
Please Log in or Create an account to join the conversation.
$image->uploadFolder_url = JURI::base(true).'/'.$image->uploadFolder_url;
by:
$image->uploadFolder_url = ACYMAILING_LIVE.$image->uploadFolder_url;
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.