• Resolved su1

    (@su1)


    Changing the shop page title in the WordPress page editor does not work for me. The same page title is always displayed (“Shop” in english and “Boutique” in french). I have tried to look in my theme templates (twenty twentyfour) to see if this was hard coded somehow but could not find anything.

    grep -r "Boutique" ./wp-content/themes

    doesn’t return anything

    I even ran a search-replace command with wp-cli on my full database to be sure the page title I wanted to remove was not present, but this didn’t fix my problem.

    The most probable explanation to me at this point is that the shop page title is hardcoded in the translation files (wp-content/languages/plugins/woocommerce-fr_FR.po:)

    grep -r "Boutique" ./wp-content/languages

    returns a couple of matches like

    ./languages/plugins/woocommerce-fr_FR.po:msgstr "Boutique"
    ./languages/plugins/woocommerce-fr_FR.po:msgstr "Page Boutique"
    ./languages/plugins/woocommerce-fr_FR.po:msgstr "Boutique"
    

    Can you confirm that, tell me if it’s normal behavior, and if the only way to solve that is by editing these po files?

    Edit : ok now I’m confused. I tried to switch to another theme such as Storefront and now I’m seeing the correct title. But at the same time, there is nowhere inside the twenty twentyfour theme files where the shop page title seems to be hardcoded.

    Edit 2: found someone with the same problem: https://www.ads-software.com/support/topic/change-shop-to-my-burger-joint-in-twenty-twenty-four/ But it’s a pity the person who posted the solution posted images that are not online anymore.

    • This topic was modified 8 months, 4 weeks ago by su1.
    • This topic was modified 8 months, 4 weeks ago by su1.
    • This topic was modified 8 months, 4 weeks ago by su1.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello su1

    Thank you for contacting WooCommerce support.

    To ensure I am fully understanding the situation:
    – Does this problem only occur when the TT4 theme is activated?
    – And when you switched to the Storefront theme, the shop page title appeared correctly?

    If these statements are accurate, then the issue appears to be specific to the TT4 theme itself. In this case, it would be best to post your query on their support forum.

    Please feel free to contact us again if you have any WooCommerce related queries. I am here for your assistance. ??

    Best regards.

    Plugin Support Ryan Ray, a11n

    (@ryanr14)

    Hi @su1,

    I wanted to come by with an update that this appears to be a known issue at the moment with the Product Catalog template. This template is used when you have a theme activated that supports Site Editing, like Twenty Twenty-Four does. ??

    We’re working to fix this and soon the template will use the title you have set for your Shop page. You can follow that progress via this GitHub issue if you’d like.

    Thread Starter su1

    (@su1)

    great, thanks @ryanr14 !

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @su1,

    I’ll now mark this thread a resolved. I recommend subscribing to the GitHub issue so as not to miss any updates posted there.

    Cheers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot change shop page title’ is closed to new replies.