Home › Forums › WoodMart support forum › Quick view only
Quick view only
- This topic has 13 replies, 2 voices, and was last updated 3 years, 1 month ago by
Luke Nielsen.
-
AuthorPosts
-
May 19, 2022 at 10:47 am #377085
silkoutletParticipanthi there, is it possible to have a page with products that can not be clicked on to view the product page, so that the only option is to add to cart from that page itself?
Please see the link below, currently you can click on the product and be taken to the product page, I want just for the product(s) to be added to cart from there, is that possible?
ThanksMay 19, 2022 at 3:17 pm #377218
Luke NielsenKeymasterHello,
We have different product styles that you can set via Theme Settings -> Product archive -> Product styles.
In your case, I suggest you choose the “Show button on hover on image” style which allows you immediately add the product without going to the product page.
https://gyazo.com/9165369bc092e2d42f316ffbdfdf5f07
https://gyazo.com/2d96a483430fb09bbbd0c6d2eae1669b
Also, you can test any style and set that you like more.
Kind Regards
May 31, 2022 at 1:03 pm #380181
silkoutletParticipantThank you that works with the show button on hover on image option, however with over 60% of my customers being on mobile this change does not affect mobile. If I click a product picture on mobile it takes me into the product, is there anything we can do for this?
May 31, 2022 at 2:59 pm #380225
Luke NielsenKeymasterHello,
In this case, enter the below code to the “Custom CSS for mobile” area, it will disable the link to the product page by clicking on the image.
.product-grid-item .product-image-link { pointer-events: none; }
If you ever need to reach out to me, please do not hesitate to do so.
Kind Regards
May 31, 2022 at 3:59 pm #380242
silkoutletParticipantThats perfect! The only thing is I need this just to apply to the one page (slug is “super-sale”) could this be done? Thank you so much!
May 31, 2022 at 5:09 pm #380256
Luke NielsenKeymasterHello,
If you mean products that have the “Sale” label, try this one code for disabling links for them.
.product-grid-item.wd-with-labels .product-image-link { pointer-events: none; }
In the meantime, please feel free to ask any questions you may have!
Kind Regards
June 1, 2022 at 12:58 pm #380436
silkoutletParticipantThank you , this would not be required for all sale items, just for items on a certain page which has the slug “super-sale” can this be applied to a page?
June 1, 2022 at 4:10 pm #380552
Luke NielsenKeymasterHello,
I can’t find such a page with the “super-sale” slug on your site. Could you please send me a link with some screenshots for a better understanding?
I await your response.
Kind Regards
June 6, 2022 at 3:35 pm #381462
silkoutletParticipantHi there, the page id is 93483 if that helps? Its a page I have created for certain sales. Thank you
June 6, 2022 at 5:43 pm #381494
Luke NielsenKeymasterHello,
Please, try to use the below code to disable links on images on the “super-sale” page.
.page-id-93483 .product-grid-item .product-image-link { pointer-events: none; }
I hope this helps!
Kind Regards
June 7, 2022 at 11:05 am #381599
silkoutletParticipantThank you so much! It seems that I have added the snippet wrong,
https://snipboard.io/HgU6RI.jpgthis is the error im receiving https://snipboard.io/F5Wrlt.jpg
Thank you!
June 7, 2022 at 11:42 am #381607
Luke NielsenKeymasterHello,
You are trying to add the CSS snippet to the area for the PHP code, it will not work that way. Please, paste this code to the “Global Custom CSS” area that is in Theme Settings -> Custom CSS.
Kind Regards
June 7, 2022 at 11:52 am #381608
silkoutletParticipantThat worked thank you, the only issue I have now is that there is no add to cart option on this page (when viewing on mobile) https://www.silkwormstore.co.uk/super-sale/
We changed to the show button on hover on image for desktop which is great, meaning they will add to cart that way. But for mobile you’ll see there is no option to add to cart, thanks.June 7, 2022 at 2:26 pm #381651
Luke NielsenKeymasterHello,
Unfortunately, such a product grid design is not included the “Add to cart” button on the mobile device.
In your case, you need to click on the title to move to the product page and there add it to the cart.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register