Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #377038

    How can I change the title on all product pages from the default ‘Shop’ to the product title used for the individual product page? I once had it, but after an update and loss of some CSS that was input cannot figure out how to get this back.

    Thanks

    #377197

    Hi InnoMed!

    please refer to this post: https://kriesi.at/support/topic/how-to-change-shop-to-store/#post-371293

    Regards,
    Andy

    #378557

    Hi Andy,

    Thanks for the response – I changed the slug of the product page to match title, but this did not work. Can you clarify the process to have the product name as the title rather than “Shop”?

    Thanks

    #379084

    Hey!

    Do you mind creating a temporary admin login and posting it here privately so we can look into it?

    Cheers!
    Yigit

    #379094
    This reply has been marked as private.
    #379331

    Hi!

    Add this in the functions.php file:

    add_filter( 'avf_title_args', 'avf_product_titlee', 0, 2 );
    function avf_product_titlee( $args, $id ) {
    	if ( is_singular('product') ) { $args['title'] = get_the_title($id); }
    	return $args;
    }
    

    Best regards,
    Ismael

    #656447

    Hi Ismael,

    How can I make the functions.php file working in the chilc theme? I did place this code in the functions.php of the child team but then the website doen not work anymore.

    Please advise.

    Thanks,
    Willem Eelman

    #656554

    Hi,


    @AppelenEelman
    please start a new thread and attach WordPress admin logins and FTP logins in private content field so we can look into it. Also, please post the exact error you are getting.

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.