Missing Url canonical

  • Posts: 263
  • Thank you received: 11
9 years 10 months ago #160817

I believe that the field « canonical url » is not populated when we edit a product on the frontend.

We tried with many products and the field « canonical url » has a value only in the backend.

thanks

Hikashop 2.3.1
Joomla 3.3.0
Hikamarket 1.4.1

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

  • Posts: 26014
  • Thank you received: 4004
  • MODERATOR
9 years 10 months ago #160928

Hi,

I am sorry but I don't understand what you mean.
The canonical url is not populated in the HikaShop backend.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 263
  • Thank you received: 11
9 years 10 months ago #161833

See on this image. Url canonical is empty even if this field is not empty in the database.

Attachments:

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

  • Posts: 26014
  • Thank you received: 4004
  • MODERATOR
9 years 10 months ago #161902

Hi,

Okay, you mean displayed.
HikaShop populate the "product alias" if there is no product alias filled for a product. I think that you say that the product canonical was populated automatically like the alias.

You can edit the view "productmarket | form" and replace

$this->escape(@$this->element->product_canonical);
By
$this->escape(@$this->product->product_canonical);
It will fix the display of the data on the page.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: Flooder

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

Moderators: Obsidev
Time to create page: 0.065 seconds
Powered by Kunena Forum