andreicos82 Posted August 11, 2021 Share Posted August 11, 2021 Hello I want to move the text you add when the product is in stock under the add to cart button. Can anyone help me please? I have attached a picture Thank you! The website is lux-sanitary.ro Link to comment Share on other sites More sharing options...
ComGrafPL Posted August 11, 2021 Share Posted August 11, 2021 Most probably, it can be set in hooks. Check it out there. Link to comment Share on other sites More sharing options...
Quique García Posted August 11, 2021 Share Posted August 11, 2021 I think you need to edit the product template from Classic Theme or a better way is to create a Child Theme were you can overwrite all customizations Check this out: https://devdocs.prestashop.com/1.7/themes/reference/template-inheritance/parent-child-feature/ Link to comment Share on other sites More sharing options...
SmartDataSoft Posted August 11, 2021 Share Posted August 11, 2021 (edited) @andreicos82 If you add this bellow css in your template custom css file or this module it will look like #product section#main .product-add-to-cart { display: block; float: none; } .product-add-to-cart .control-label{ float: left; line-height: 36px; } .product-add-to-cart .product-quantity { clear: right; } Thank you Edited August 12, 2021 by SmartDataSoft (see edit history) 1 Link to comment Share on other sites More sharing options...
andreicos82 Posted August 11, 2021 Author Share Posted August 11, 2021 16 minutes ago, SmartDataSoft said: @andreicos82 If you add this bellow css in your template custom css file or this module it will look like #product section#main .product-add-to-cart { display: block; float: none; } .product-add-to-cart .control-label{ float: left; line-height: 36px; } .product-add-to-cart .product-quantity { Thank you Thx for Reply! I apologize for the nub question but, you mean the custom.css file in /themes/mytheme/assets/css/custom.css ??? Should the code be added to the bottom of the page if I understood correctly? Link to comment Share on other sites More sharing options...
SmartDataSoft Posted August 11, 2021 Share Posted August 11, 2021 @andreicos82 Yes at at the end of the page so that it load at the end. Do not forget to click the love icon of the solution Thank you 1 Link to comment Share on other sites More sharing options...
andreicos82 Posted August 11, 2021 Author Share Posted August 11, 2021 13 minutes ago, SmartDataSoft said: @andreicos82 Yes at at the end of the page so that it load at the end. Do not forget to click the love icon of the solution Thank you Is working!!! THX! Link to comment Share on other sites More sharing options...
SmartDataSoft Posted August 12, 2021 Share Posted August 12, 2021 @andreicos82 Sorry one mistake happen when i paste css one line missing , i update my css, at the end of your css you will css find this bellow rules has no closing, so replace this css rules with bellow rules. and keep above two rules. then you will see Cantitate show in left .product-add-to-cart .product-quantity { clear: right; } Thank you once again . 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now