-
AuthorPosts
-
October 29, 2020 at 10:01 pm #1256880
change position of a notice
Hello, can you help me? I would like to change the position of a notice in the wocommerce cart as it appears in the attached image, how could I do it?
November 3, 2020 at 4:40 am #1257861Hey Carlos,
Thank you for the inquiry.
How can we make the notice display, and where is the shop page? We did find a product item, but we could not add it to the cart. Please provide a link to the shop page or to a product item so that we could check the cart page properly.
Best regards,
IsmaelNovember 3, 2020 at 10:43 am #1257927Hi:
Sorry, I’m working in the store and I haven’t published it yet, … here is a product link:
https://www.presumedebebe.es/producto/example-lote-openiertoo-yuste-ref-021/
If you add to the cart, I will take you to the cart where the notice appears at the top and I would like it to appear as shown in the screenshot that I send you.
https://www.dropbox.com/s/63xlwwuk4x3u55m/Captura%20de%20pantalla%202020-10-29%20a%20las%2019.14.57.jpg?dl=0I hope your help, thanks
November 7, 2020 at 3:03 pm #1259053Hi,
Sorry for the very late reply and thanks for the screenshot and link, but the link is resulting in a 404, I found another product linked below along with a screenshot of the expected results.
Try adding this code to the end of your functions.php file in Appearance > Editor:function custom_script(){ ?> <script> (function($){ $(document).ready(function(){ $( ".woocommerce-message" ).insertAfter( ".woocommerce-cart .woocommerce-cart-form" ); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');Then clear your browser cache and check.
Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.
