amba Posted October 8, 2022 Posted October 8, 2022 Site URL: https://ambrand.nz/ hello I need to show our product prices including and excluding gst ( Tax) Does anyone know how I could do this? Thanks
Beyondspace Posted October 9, 2022 Posted October 9, 2022 (edited) 2 hours ago, amba said: Site URL: https://ambrand.nz/ hello I need to show our product prices including and excluding gst ( Tax) Does anyone know how I could do this? Thanks Have you refer information from the following link:https://support.squarespace.com/hc/en-us/articles/206540947-Setting-up-manual-tax-rates-in-Squarespace-Commerce Edited October 9, 2022 by bangank36 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
amba Posted October 9, 2022 Author Posted October 9, 2022 Hey, thanks for the reply. What I meant was the listed price. I would like to show both the price including and excluding.
creedon Posted October 9, 2022 Posted October 9, 2022 The following is not a solution but a pointer to a part of a possible solution you may need. The cited code watches prices and allows a developer to create a callback to manipulate prices. Taxes can be extremely complicated and my code knows nothing of them. The developer would need to deal with all that. At its simplest you could have a single tax rate that would be applied to the price and then you'd display both prices. If you have a more complex tax system then the code could turn into a nightmare very quickly. amba 1 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.
amba Posted October 9, 2022 Author Posted October 9, 2022 Thanks, That gave me an idea. I could use the sale price as a section that would exclude the tax amount and change it from sales to including and excluding tax. Need to remove the strikeout and the word sale. .product-price::after { content: ' including'; } .original-price::before { content: ' excluding '; } .products.collection-content-wrapper .original-price { text-decoration: none; } .product-mark.sale { visibility: hidden; } unfortunately this is all on one line, would prefer the one price below the other. Any input would be greatly appreciated.
tuanphan Posted October 12, 2022 Posted October 12, 2022 On 10/10/2022 at 6:53 AM, amba said: Thanks, That gave me an idea. I could use the sale price as a section that would exclude the tax amount and change it from sales to including and excluding tax. Need to remove the strikeout and the word sale. .product-price::after { content: ' including'; } .original-price::before { content: ' excluding '; } .products.collection-content-wrapper .original-price { text-decoration: none; } .product-mark.sale { visibility: hidden; } unfortunately this is all on one line, would prefer the one price below the other. Any input would be greatly appreciated. try add display: block to these code .product-price::after { content: ' including'; display: block; } .original-price::before { content: ' excluding '; display: block; } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment