SignBoss Posted August 11, 2021 Share Posted August 11, 2021 Site URL: https://www.gillettecamels.com I set up a commerce option for a local Booster Club. They need donors to fill out a custom form, but I didn't find the info they needed on the Squarespace form that's found in Product Settings. I did find the info they needed on Jotform so I embedded that into the Product Page. The problem is that the layout encourages a customer to Add to Cart before filling out the necessary form. I didn't see a way to arrange the blocks on that page since it includes the Add to Cart button in Product Details, but we really need the quantity and Add to Cart button to be at the bottom of the page below the embedded Jotform. Link to comment
tuanphan Posted August 14, 2021 Share Posted August 14, 2021 On 8/11/2021 at 9:29 PM, SignBoss said: Site URL: https://www.gillettecamels.com I set up a commerce option for a local Booster Club. They need donors to fill out a custom form, but I didn't find the info they needed on the Squarespace form that's found in Product Settings. I did find the info they needed on Jotform so I embedded that into the Product Page. The problem is that the layout encourages a customer to Add to Cart before filling out the necessary form. I didn't see a way to arrange the blocks on that page since it includes the Add to Cart button in Product Details, but we really need the quantity and Add to Cart button to be at the bottom of the page below the embedded Jotform. Hi, You want to move Quantity + Add to cart under Jotform (in Additional Info)? Or move Jotform to above Quantity/Add to cart (in Short Description)? 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
SignBoss Posted August 16, 2021 Author Share Posted August 16, 2021 On 8/13/2021 at 10:05 PM, tuanphan said: Hi, You want to move Quantity + Add to cart under Jotform (in Additional Info)? Or move Jotform to above Quantity/Add to cart (in Short Description)? Hi Tuanphan, please move Quantity + Add to cart under Jotform (in Additional Info) Link to comment
tuanphan Posted August 18, 2021 Share Posted August 18, 2021 On 8/16/2021 at 10:49 PM, SignBoss said: Hi Tuanphan, please move Quantity + Add to cart under Jotform (in Additional Info) Add 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() { $('.product-quantity-input, div.sqs-add-to-cart-button-wrapper').insertAfter('section.ProductItem-additional .embed-block'); }); </script> 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
Solution SignBoss Posted August 18, 2021 Author Solution Share Posted August 18, 2021 6 hours ago, tuanphan said: Add 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() { $('.product-quantity-input, div.sqs-add-to-cart-button-wrapper').insertAfter('section.ProductItem-additional .embed-block'); }); </script> You are amazing! That's exactly what I needed. One question though, is there any way to make the wrapper a little larger around product quantity and button? Link to comment
tuanphan Posted August 22, 2021 Share Posted August 22, 2021 On 8/18/2021 at 9:02 PM, SignBoss said: You are amazing! That's exactly what I needed. One question though, is there any way to make the wrapper a little larger around product quantity and button? Hi. Sorry for the delay. Add to Design > Custom CSS /* top bottom spacing of quantity */ .product-quantity-input { padding-bottom: 30px; padding-top: 10px; } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment