• Resolved lee320

    (@lee320)


    I am having some issues amending the size guide link on shop items. We haven’t actually purchased any size guide add ons at all so I can’t see any obvious way of editing this.

    We originally had a similar issue with the delivery info link, but I have since found that I can amend that by editing content-single-product.php

    For a bit of background, the website was created by a third party and we no longer have contact with them, so any help would be greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • I’m assuming that is a child theme? Editing the template files it not the best way of doing that sort of thing – you end up with a lot of files that you will need to keep updating when new versions of WooComemrce are released!

    WooCommerce has a very useful hook system that lets you add content to various sections without messing with the php files: https://www.businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/

    So, if you find the file that the Size Guide text has been added to I’d recommend you have a look at doing it this way!

    con

    (@conschneider)

    Engineer

    Hi there,

    I am having some issues amending the size guide link on shop items. We haven’t actually purchased any size guide add ons at all so I can’t see any obvious way of editing this.

    I can see the link: https://d.pr/i/XWYWa4 – what kind of change do you need with the link? Or are you looking for a way to have the link display your size guides?
    If it is the latter, do you have a screenshot that shows how it should look maybe?

    Kind regards,

    Thread Starter lee320

    (@lee320)

    The issue is that I can’t find any way of editing the link. It doesn’t appear on the back end of the website and I’m not sure what file the size guide text has been added to in order to edit it.

    Are there any files in a folder like: wp-content/themes/yourtheme/woocommerce/

    Or maybe there is something in the functions.php file of the theme?

    Thread Starter lee320

    (@lee320)

    I have gone through every file under wp-content/themes/yourtheme/woocommerce/ and can’t see any mention of the size guide. I’ve just checked functions.php as well and can’t see anything there. Thanks for the suggestion though.

    Do you have a plugin like Code Snippets – https://wordpress.org/plugins/code-snippets/ – that’s adding anything?

    What theme are you using?

    Thread Starter lee320

    (@lee320)

    Do you have a plugin like Code Snippets – https://wordpress.org/plugins/code-snippets/ – that’s adding anything?

    What theme are you using?

    No we don’t have any plugins like that.

    We’re using a custom theme that was made for us.

    Thread Starter lee320

    (@lee320)

    A little more information, the size guide link only appears when the product has multiple variations e.g. sizes

    You might have yo search all of the theme files to find it then!

    con

    (@conschneider)

    Engineer

    Hi again,

    You might have yo search all of the theme files to find it then!

    I think that is correct. It looks as if the “Size Guide” is part of your theme template code: https://d.pr/i/gJhY9x
    You can do a full text search with a code editor i.e. Sublime Text or Visual Studio Code.

    Kind regards,

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @lee320,

    It’s been a while since we heard from you. Checking on your site, I see the size guide text is still there.

    As you try to find the origin of the text or to modify it, maybe you could hide it with the following CSS if you’d rather not have it displayed for now:

    p.btn--text {
        display: none !important;
    }

    You can add the CSS to Appearance → Customize → Additional CSS

    Hope this helps.
    Thanks.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, the above info was helpful.

    If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Adding link to size guide’ is closed to new replies.