- Posts: 51
- Thank you received: 0
Headline missing when using characteristics
- Andreas_Sweden
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
It's not related to that thread modifications. There was a code change on the show file of the view product in a previous version as we changed the way to display products names when products have characteristics.
If you updated from a previous version, you should delete the customization of that view and reapply your modifications to the new view file code.
Please Log in or Create an account to join the conversation.
- Andreas_Sweden
-
Topic Author
- Offline
- Posts: 51
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Andreas_Sweden
-
Topic Author
- Offline
- Posts: 51
- Thank you received: 0
On the listing of views, you have a delete icon in the "remove customization" column for each view you edited on which you can click in order to rollback to using the core version of the view.
I don't have any icons in that column
Please Log in or Create an account to join the conversation.
The icon will only appear once you edit a view.
If you don't have any delete icon that would mean that it should be working. In that case, could you give an access to your backend so that we can check on the problem ?
Please Log in or Create an account to join the conversation.
- Andreas_Sweden
-
Topic Author
- Offline
- Posts: 51
- Thank you received: 0
There is a lot of pages in the listing of views. Did you look at the files of the view "product" ?
The icon will only appear once you edit a view.
If you don't have any delete icon that would mean that it should be working. In that case, could you give an access to your backend so that we can check on the problem ?
I have created a user for you and sent the details by PM, thank you for the outstanding support.
Please Log in or Create an account to join the conversation.
It seems that you turned off the option "Append characteristics value to product name" in the configuration. Turning it on displays the product name, the characteristic value and the variant code.
Since you have the size already in the variant code, you see the size twice actually.
It would still be more coherent to have the main product name displayed even when the characteristics value is not appended to the product name. Could you try to turn back off that option and edit the file administrator/components/com_hikashop/classes/product.php and add the code:
if(empty($variant->product_name)){
$variant->product_name = $variant->main_product_name;
}
after the code:
$variant->main_product_name = @$element->product_name;
in that file. Does that display properly ?
Please Log in or Create an account to join the conversation.