-
AuthorPosts
-
June 11, 2018 at 8:30 am #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.
June 11, 2018 at 9:48 am #971038Hey 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,
RikardJune 14, 2018 at 8:04 am #972654Hey 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, 6 months ago by snxodesk.
June 14, 2018 at 4:57 pm #972907Hi 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,
VictoriaJune 18, 2018 at 9:31 am #974108This reply has been marked as private.June 19, 2018 at 10:53 am #974686Hi snxodesk,
I cannot see the link to your website. Can you please post it again?
Best regards,
VictoriaJune 22, 2018 at 10:12 am #976204This reply has been marked as private.June 22, 2018 at 11:31 am #976254Hi 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,
NikkoJuly 6, 2018 at 8:29 am #981894Hi 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?
July 10, 2018 at 8:25 pm #983805Hi,
No that is not possible unfortunately.
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.