ECI Posted August 12, 2020 Share Posted August 12, 2020 Site URL: https://www.partybarnpublications.com/books/crafting-the-roast Hello! I'm hoping someone can help me figure out how to move where the price is displayed on the product page. It's at the top near the title and it really should be at the bottom near the add to cart button or above the quantity button. Anyone out there know how I can move this? Thanks!! Link to comment
tuanphan Posted August 12, 2020 Share Posted August 12, 2020 Add to Home > Design > Custom CSS .ProductItem-details .ProductItem-details-checkout { display: flex; } .ProductItem-details-excerpt { order: 1 !important; } .ProductItem-product-price { order: 2 !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
ECI Posted August 12, 2020 Author Share Posted August 12, 2020 Amazing! You are a lifesaver. Thank you!! Link to comment
tuanphan Posted August 17, 2020 Share Posted August 17, 2020 You're welcome. If you have any other questions, just reply to this post or create a new question. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
gisellemariemedia Posted March 19, 2021 Share Posted March 19, 2021 This is very helpful. But if I wanted to add the price in the "Add to Cart" Button, how can I do so? Thank you. Link to comment
tuanphan Posted March 28, 2021 Share Posted March 28, 2021 On 3/20/2021 at 5:29 AM, gisellemariemedia said: This is very helpful. But if I wanted to add the price in the "Add to Cart" Button, how can I do so? Thank you. Hi. Can you explain clearly? "add the price in the "Add to Cart" Button" Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Jheverard Posted June 16, 2021 Share Posted June 16, 2021 Hi Love this fix, but is it possible to move the price to above the add to cart button? Please see attached picture.. thank you in advance! j Link to comment
tuanphan Posted June 17, 2021 Share Posted June 17, 2021 12 hours ago, Jheverard said: Hi Love this fix, but is it possible to move the price to above the add to cart button? Please see attached picture.. thank you in advance! j Hi. Can you share link to product in screenshot? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Jheverard Posted June 17, 2021 Share Posted June 17, 2021 Hi yep it’s on all 4 products on this store: https://orb-chihuahua-fkbf.squarespace.com/sendflowers/p/bloom-bouquet-1 password: Flowers11 thank you! jack Link to comment
tuanphan Posted June 18, 2021 Share Posted June 18, 2021 22 hours ago, Jheverard said: Hi yep it’s on all 4 products on this store: https://orb-chihuahua-fkbf.squarespace.com/sendflowers/p/bloom-bouquet-1 password: Flowers11 thank you! jack The url doesn't exist. Can you check again? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Jheverard Posted June 23, 2021 Share Posted June 23, 2021 Hi - sorry I’ve been tidying everything up - link is: https://orb-chihuahua-fkbf.squarespace.com/sendflowers/p/riot-of-colour-bouquet thank you! Link to comment
creedon Posted June 23, 2021 Share Posted June 23, 2021 (edited) @Jheverard Add the following to Store Settings > Advanced > Page Header Code Injection for the store page. <!-- begin reorder .ProductItem-details-checkout child elements SS Version : 7.1 Note : the code is comprised of two style tags both of which must be present for the effect to work. the second style tag is where the user controls the order of elements By : Thomas Creedon < http://www.tomsWeb.consulting/ > --> <style> /* There is something odd going on with .ProductItem-details-checkout CSS as of 06/23/21. The rule-set has a display property value of block but child elements of .ProductItem-details-checkout have order properties on them. The first bit of CSS unsets those properties for a clean slate returning the elements to natural order. */ /* user, ignore the rest of the rulesets in this tag and move to the next tag to set the order of elements */ .ProductItem-details .product-quantity-input, .ProductItem-details .product-variants, .ProductItem-details .ProductItem-details-excerpt, .ProductItem-details .ProductItem-product-price, .ProductItem-details .sqs-add-to-cart-button-wrapper { -webkit-box-ordinal-group : unset; -moz-box-ordinal-group : unset; -ms-flex-order : unset; -webkit-order : unset; order : unset; } .ProductItem-details .ProductItem-details-checkout { display : -webkit-box; display : -ms-flexbox; display : flex; } </style> <style> /* begin user reorder, this is where you get to control the order */ .ProductItem-details .ProductItem-product-price { -webkit-box-ordinal-group : 2; -ms-flex-order : 1; order : 1; } .ProductItem-details .sqs-add-to-cart-button-wrapper { -webkit-box-ordinal-group : 3; -ms-flex-order : 2; order : 2; } /* end user reorder */ </style> <!-- end reorder .ProductItem-details-checkout child elements --> Let us know how it goes. Edited June 25, 2021 by creedon version 2 Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! Link to comment
ottomtech Posted June 25, 2021 Share Posted June 25, 2021 Thanks, I also wanted to move this price bar. Descargar Whatsapp Plus Link to comment
creedon Posted June 25, 2021 Share Posted June 25, 2021 My bad. I've updated my code post. tuanphan 1 Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! Link to comment
PerBoy Posted August 6, 2021 Share Posted August 6, 2021 What about moving down the price a little bit more... So that the price is inside the add to cart button. Like this button: $ 15.50 Add to Cart se picture Suv 1 Link to comment
PerBoy Posted August 6, 2021 Share Posted August 6, 2021 I prefer to do this with CSS :) Suv 1 Link to comment
creedon Posted August 7, 2021 Share Posted August 7, 2021 @PerBoy What you want can't be done with CSS alone. It would require Javascript and is a more complex project because of the dymamic nature of the atc button and involvement of variants (also dynamic). I think it may be possible to do but again it's not just a couple of lines of code. Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! Link to comment
Suv Posted August 7, 2021 Share Posted August 7, 2021 9 hours ago, PerBoy said: What about moving down the price a little bit more... So that the price is inside the add to cart button. Like this button: $ 15.50 Add to Cart se picture Please let me know if you find a way to do this! Been wanting to get the price to be within the button as well. Link to comment
destinyestringer Posted September 1, 2021 Share Posted September 1, 2021 Hi! Thanks so much for this code, it was just what I was looking for on my clients site. I was wondering if there was a way to get the product excerpt to display next to the variant options and pricing? I've removed the product thumbnail as I don't need it but I would like the excerpt to basically be in the place the thumbnail originally was. URL: https://opta-verb.squarespace.com/memberships/p/opta-annual-membership PW: OPTA2021 Thanks for any help! Link to comment
Ciodensky Posted November 3, 2021 Share Posted November 3, 2021 (edited) On 6/24/2021 at 3:36 AM, creedon said: @Jheverard Add the following to Store Settings > Advanced > Page Header Code Injection for the store page. <!-- begin reorder .ProductItem-details-checkout child elements SS Version : 7.1 Note : the code is comprised of two style tags both of which must be present for the effect to work. the second style tag is where the user controls the order of elements By : Thomas Creedon < http://www.tomsWeb.consulting/ > --> <style> /* There is something odd going on with .ProductItem-details-checkout CSS as of 06/23/21. The rule-set has a display property value of block but child elements of .ProductItem-details-checkout have order properties on them. The first bit of CSS unsets those properties for a clean slate returning the elements to natural order. */ /* user, ignore the rest of the rulesets in this tag and move to the next tag to set the order of elements */ .ProductItem-details .product-quantity-input, .ProductItem-details .product-variants, .ProductItem-details .ProductItem-details-excerpt, .ProductItem-details .ProductItem-product-price, .ProductItem-details .sqs-add-to-cart-button-wrapper { -webkit-box-ordinal-group : unset; -moz-box-ordinal-group : unset; -ms-flex-order : unset; -webkit-order : unset; order : unset; } .ProductItem-details .ProductItem-details-checkout { display : -webkit-box; display : -ms-flexbox; display : flex; } </style> <style> /* begin user reorder, this is where you get to control the order */ .ProductItem-details .ProductItem-product-price { -webkit-box-ordinal-group : 2; -ms-flex-order : 1; order : 1; } .ProductItem-details .sqs-add-to-cart-button-wrapper { -webkit-box-ordinal-group : 3; -ms-flex-order : 2; order : 2; } /* end user reorder */ </style> <!-- end reorder .ProductItem-details-checkout child elements --> Let us know how it goes. Hi @creedon, is this code still working in 7.1? I tried it but seems it is not working. Edited November 3, 2021 by Ciodensky change the addressee Link to comment
Ciodensky Posted November 3, 2021 Share Posted November 3, 2021 On 8/12/2020 at 10:00 PM, tuanphan said: Add to Home > Design > Custom CSS .ProductItem-details .ProductItem-details-checkout { display: flex; } .ProductItem-details-excerpt { order: 1 !important; } .ProductItem-product-price { order: 2 !important; } Hi @tuanphan, I tried this code but no avail. Is this code still working with 7.1? I added a product on my pricing page and want the variant to be on top of the price. Can you help me please? Thanks. Link to comment
creedon Posted November 3, 2021 Share Posted November 3, 2021 9 hours ago, Ciodensky said: is this code still working in 7.1? I tried it but seems it is not working. It is working. Given that my code and tuanphan's code appear to not be working for you, it may be that our codes are not installed where we indicated or you have other code that is overriding our code. Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! Link to comment
Ciodensky Posted November 4, 2021 Share Posted November 4, 2021 (edited) 5 hours ago, creedon said: It is working. Given that my code and tuanphan's code appear to not be working for you, it may be that our codes are not installed where we indicated or you have other code that is overriding our code. I actually followed your instruction where to install. I hope I am right – below the screenshot below. I also do not have any script related to products except some css — not sure if these will affect your code. I will appreciate further guidance. My website is xystema.com and the password 061298. I am implementing this on my Enterprise product — please see screenshot below. Edited November 4, 2021 by Ciodensky change the attached image Link to comment
creedon Posted November 4, 2021 Share Posted November 4, 2021 @Ciodensky My code is written for Store pages not Product Blocks. Changes made on a product detail page do not translate to other places on a site where that product may appear. I was not able to access your store page as it has its own password on it. Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! Link to comment
Ciodensky Posted November 4, 2021 Share Posted November 4, 2021 1 hour ago, tuanphan said: Hi, The url doesn't exist. Can you check it again? 52 minutes ago, creedon said: @Ciodensky My code is written for Store pages not Product Blocks. Changes made on a product detail page do not translate to other places on a site where that product may appear. I was not able to access your store page as it has its own password on it. I see. Sorry about that. I got it. But many thanks by the way! Appreciate your response. Anyway, do you still need the store page password? I don't know also where to get it. 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