RichD Posted February 8, 2022 Posted February 8, 2022 Site URL: https://www.mdrtraininguk.com/shop/p/hgvclassroom Hi, Im wondering if it is possible to restructure the product page. At the moment, I use the "simple" layout which is: Title Description Purchase button Additional info With images on the right. I would like to structure the page in the following way Title Additional info Purchase button The reason is that the additional info section can be designed, with sections the same as a standard page. The product description section is just text only. I hope that makes sense. If there are any coding wizards with a solution, I'd really like to hear it 🙂 Thanks Rich
tuanphan Posted February 14, 2022 Posted February 14, 2022 This is possible. You want this on specific product or all products? 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!)
RichD Posted February 14, 2022 Author Posted February 14, 2022 Hi Tuanphan Ideally all pages, so I guess some sort of code injection?
RichD Posted February 18, 2022 Author Posted February 18, 2022 @tuanphan would you be able to help me with the code please.. I have absolutely no idea about CSS🙂
tuanphan Posted February 25, 2022 Posted February 25, 2022 On 2/18/2022 at 8:26 PM, RichD said: @tuanphan would you be able to help me with the code please.. I have absolutely no idea about CSS🙂 Sorry for the delay. Add this to Settings > Advanced > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function() { $('section.ProductItem-additional').insertBefore('div.product-quantity-input'); }); </script> <style> section.ProductItem-additional { margin-top: 0px !important; } </style>  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!)
RichD Posted February 25, 2022 Author Posted February 25, 2022 Brilliant! Thank you very much. I'll have a play with this later today.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment