Forum
Calc Builder Support
Calc Builder supportForums
No se permite escribir sin estar logado. Por favor, login
Re: product description hiKashop 03.08.2015 08:26
Hi,
$hk_product_description="Your value";
is the right way to assign the product long description, you can introduce there your other variables from your calculator, we'd try using the concat operator ( . ) :
$hk_product_description='Description: date:'.$date.' - Parcel:'.$nrparcel;
and also printing the variable ##hk_product_description## at your output for a while in order to ensure the value is properly set. Please note the long description of the product is not visible at the checkout, it shows only at the detailed product sheet. The text which hikashop shows at the cart is the
$hk_product_name
instead.
Hope this helps, regards
Moonsoft Team
www.moonsoft.es
$hk_product_description="Your value";
is the right way to assign the product long description, you can introduce there your other variables from your calculator, we'd try using the concat operator ( . ) :
$hk_product_description='Description: date:'.$date.' - Parcel:'.$nrparcel;
and also printing the variable ##hk_product_description## at your output for a while in order to ensure the value is properly set. Please note the long description of the product is not visible at the checkout, it shows only at the detailed product sheet. The text which hikashop shows at the cart is the
$hk_product_name
instead.
Hope this helps, regards
Moonsoft Team
www.moonsoft.es
Re: product description hiKashop 04.08.2015 16:47
Hi,
yes, you can add to that variable any other you can create with valid php. Please note with
$session = JFactory::getSession();
you're recovering the session full object, in order to get the session id you would need to call the getId function on that object:
$sessionid=$session->getId();
, this is the api with further information about methods available:
https://api.joomla.org/cms-3/classes/JSession.html#method_getId
Regards
Moonsoft Team
www.moonsoft.es
yes, you can add to that variable any other you can create with valid php. Please note with
$session = JFactory::getSession();
you're recovering the session full object, in order to get the session id you would need to call the getId function on that object:
$sessionid=$session->getId();
, this is the api with further information about methods available:
https://api.joomla.org/cms-3/classes/JSession.html#method_getId
Regards
Moonsoft Team
www.moonsoft.es