Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #970981

    Hi,

    I would like to make it easier for my users to select product titles on my shop page. When I try to select the product titles on the shop page currently it selects everything before the product title and I am unable to just copy and paste the title itself. Is there a way to fix this?

    Here’s an image to better show the issue that I’m having. Notice that when I start selecting the word blue with my mouse, the previous product gets highlighted as well.

    View post on imgur.com

    #971038

    Hey snxodesk,

    Thanks for the screenshot, I’m not sure we can do anything about that though. How a user marks text with the mouse is not really something we can control unfortunately.

    Best regards,
    Rikard

    #972654

    Hey Rikard,

    I might not have expressed myself well.

    If I put myself in the shoes of a user and I want to copy and paste the title text of a product on my shop, I currently have to go to the individual product page to do that. I, as a user, would like to copy and paste the just the title text directly from the shop page, but I am unable to do that because it copies all of the text around it. Here’s a video of the issue I would have as a user trying to copy and paste the title.

    Is there any way to make it so that the user can select just the title of the product?

    This video was taken on chrome.

    • This reply was modified 6 years, 5 months ago by snxodesk.
    #972907

    Hi snxodesk,

    This is really not theme related, we cannot suggest anything here for you. It happens on many websites, I sometimes go to the source code of the page to copy just the text.

    Best regards,
    Victoria

    #974108
    This reply has been marked as private.
    #974686

    Hi snxodesk,

    I cannot see the link to your website. Can you please post it again?

    Best regards,
    Victoria

    #976204
    This reply has been marked as private.
    #976254

    Hi snxodesk,

    Try adding this php code at the bottom of your functions.php:

    remove_action( 'woocommerce_before_shop_loop_item', 'woocommerce_template_loop_product_link_open', 10 );

    Hope this helps :)

    Best regards,
    Nikko

    #981894

    Hi Nikko,

    Thanks for the reply. I tried that and now the text is selectable but the anchor tag is completely gone so you can no longer navigate to a product page. Any way to add back the anchor tag around specific parts of the element?

    #983805

    Hi,

    No that is not possible unfortunately.

    Best regards,
    Basilis

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