dom_p Posted February 27, 2022 Share Posted February 27, 2022 Site URL: https://www.follyandfine.ca/ Hi, I would like to customize the number of related products you see on a page to be 4. Right now it is 5 and flows over to a second line. Thanks! Link to comment
creedon Posted February 28, 2022 Share Posted February 28, 2022 (edited) Please see Store Product Detail Related Product Four. Let us know how it goes. Edited March 1, 2022 by creedon Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
dom_p Posted February 28, 2022 Author Share Posted February 28, 2022 It didn't work 😞 Link to comment
creedon Posted February 28, 2022 Share Posted February 28, 2022 Please provide your site-wide password so we can take a look. If the code is not installed. Please install it so we can see what might have gone wrong. Unless of course the code is causing issues. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
creedon Posted March 1, 2022 Share Posted March 1, 2022 (edited) Quote It didn't work 😞 My bad. The code cited in a previous post was totally off base to your need. I have updated my post citing some new code. Let us know how it goes. Edited March 1, 2022 by creedon Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
dom_p Posted March 1, 2022 Author Share Posted March 1, 2022 Thanks so much! It worked! Link to comment
dom_p Posted March 2, 2022 Author Share Posted March 2, 2022 Hi, I noticed that the code doesn't actually work after all. It makes every product page show only 4 products as well. If anyone has any other options I'd be open to try. Thanks! Link to comment
creedon Posted March 2, 2022 Share Posted March 2, 2022 (edited) 2 hours ago, dom_p said: It makes every product page show only 4 products as well. Do you want to restrict the effect to a particular product? The one you cited? That shouldn't be to hard. Edited March 2, 2022 by creedon Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
dom_p Posted March 3, 2022 Author Share Posted March 3, 2022 Yes, just to the 'you might also like' section at the bottom of each product page. Link to comment
tuanphan Posted March 6, 2022 Share Posted March 6, 2022 On 3/3/2022 at 9:45 PM, dom_p said: Yes, just to the 'you might also like' section at the bottom of each product page. What is password? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
dom_p Posted March 6, 2022 Author Share Posted March 6, 2022 13 hours ago, tuanphan said: What is password? 175Bloor Link to comment
tuanphan Posted March 10, 2022 Share Posted March 10, 2022 On 3/7/2022 at 2:34 AM, dom_p said: 175Bloor Add to Design > Custom CSS /* related products 4 items */ .ProductItem .ProductItem-additional+section .grid-item:nth-child(n+5) { display: none; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
dom_p Posted March 13, 2022 Author Share Posted March 13, 2022 On 3/10/2022 at 5:25 AM, tuanphan said: Add to Design > Custom CSS /* related products 4 items */ .ProductItem .ProductItem-additional+section .grid-item:nth-child(n+5) { display: none; } It worked! Many thanks!!! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment