Skip to main content

about the characteristics showing in the cart ...

More
15 years 6 months ago #9710 by seb
This is about the characteristics showing in the cart and the final cart, I'd like to customized a bit the way it shows up ... when you've got a few characteristics it might be a bit messy .. I'd like to add </br> or "'" in which file is it made .. in which file is it made ?

Please Log in or Create an account to join the conversation.

More
15 years 6 months ago #9729 by nicolas
We actually started to add an option for that.
If you use a really recent version, you can just go in phpmyadmin and in the hikashop_config table add an entry with the namekey being characteristics_values_separator and the value being the separator you would like.

Please Log in or Create an account to join the conversation.

More
15 years 6 months ago #9798 by seb
yep working fine ... but ... there is always a 'but' it also adds my separators in title in the product/show.php ... I'd like to avoid that ... but still want it in my cart ... how can I do that ????

Please Log in or Create an account to join the conversation.

More
15 years 6 months ago #9818 by nicolas
You would have to edit the file show of the view product and change the code to use the main product name instead of the variant name.

So replace:
echo $this->element->product_name;
by:
if(!empty($this->element->main->product_name)){
echo $this->element->main->product_name;
}else{
$this->element->product_name;
}

and:
echo $variant->product_name;
by:
echo $this->element->main->product_name;

Please Log in or Create an account to join the conversation.

More
15 years 6 months ago #9928 by seb

Please Log in or Create an account to join the conversation.

Time to create page: 0.230 seconds
Powered by Kunena Forum