Headline missing when using characteristics

  • Posts: 51
  • Thank you received: 0
13 years 3 months ago #22311

I am missing the headlines and just get the Product Code and size in the headline supposed to be headline, product ID and size, the headlines went away after upgrading could it be related to this: www.hikashop.com/en/support/forum/4-how-...customer-can-se.html if there has been changes made in the code to the new version?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 3 months ago #22343

Hi,

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.

  • Posts: 51
  • Thank you received: 0
13 years 3 months ago #22355

how do I do it?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 3 months ago #22358

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.

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

  • Posts: 51
  • Thank you received: 0
13 years 3 months ago #22366

nicolas wrote:

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 3 months ago #22376

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 ?

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

  • Posts: 51
  • Thank you received: 0
13 years 3 months ago #22382

nicolas wrote:

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 3 months ago #22406

Hi,

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.

Time to create page: 0.062 seconds
Powered by Kunena Forum