CalcBuilder Forum

product description hiKashop

Usuario bsnline 2015-08-01 18:38:31


field description product hikashop
i need save in the field "$hk_product_description" result from calc,
for example this but not work ...

$hk_product_description='Description: date:$date - Parcel:$nrparcel';

suggestion ?

Moonsoft support 2015-08-03 08:26:32


$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



Hope this helps, regards

Usuario bsnline 2015-08-04 00:07:08

Okay, thank you very much

for "$hk_product_name" is possible costumized with progressive id session ?
for exsample: $hk_product_name="Quote-".$session;

$session = JFactory::getSession();


Moonsoft support 2015-08-04 16:47:17

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:


, this is the api with further information about methods available:


Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!