Need to change product_page_title

  • Posts: 2293
  • Thank you received: 315
7 years 5 months ago #274510

-- HikaShop version -- : 3.1.1

Hi!
I need to change standard page title to custom (add one word "buy" for SEO)
I try to create mass action like this

concat(product.page_title,'buy')

and try to create this
Buy {product_page_title}

But this is don't work - the value became the same as write it here - Buy {product_page_title}

Don't all this tricks work for product_page_title?


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
Attachments:
Last edit: 7 years 5 months ago by progreccor.

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
7 years 5 months ago #274524

Hi,

There is no way to concat columns with the mass action system.
It would have to be done directly with a MySQL query in your PHPMyAdmin.

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

  • Posts: 2293
  • Thank you received: 315
7 years 5 months ago #274555

But I do this for set canonical address. Is there difference for the page title?


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
7 years 5 months ago #274574

Hello,

You wrote:
concat(product.page_title,'buy')
But regarding the structure, it should be :

concat('buy ', product.product_page_title)
Afterwards, Nicolas is not sure that it would work. So it might be easier for you to perform directly the modification in SQL via your PHPMyAdmin (the process would be mostly the same).

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: 2293
  • Thank you received: 315
7 years 4 months ago #274810

this version

concat('buy ', product_page_title)
is working.
If I add period (".") this breaking the code.
The problem was with period in this version of code


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
The following user(s) said Thank You: nicolas

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

Time to create page: 0.055 seconds
Powered by Kunena Forum