Tagged: x
-
AuthorPosts
-
March 17, 2017 at 7:32 pm #1411605
ItwebdevelopmentParticipantHi I’d like to add some images under this:
https://gyazo.com/2a17c7dbed1360f93cdfc929189ec0c0
On this page:
https://www.dzdrones.com/cart/
Can you help?
March 18, 2017 at 4:00 am #1411969
Rue NelModeratorHello There,
Thanks for writing in! To add some images or custom content below the “Proceed to Checkout” button in the cart page, assuming the child theme is set up, please add the following code in your child theme’s functions.php file
functions custom_image_content() ?> <div class="custom-content" style="clear: both;"> <img src="http://placehold.it/300x300/" alt="custom image" /> </div> <?php } add_action('woocommerce_after_cart', 'custom_image_content');We would loved to know if this has work for you. Thank you.
March 18, 2017 at 4:15 am #1411977
ItwebdevelopmentParticipantThis reply has been marked as private.March 18, 2017 at 9:44 am #1412130
ThaiModeratorHi There,
I was unable to login to your FTP account.
Please try updating the previous code to this:
function custom_image_content(){ ?> <div class="custom-content" style="clear: both;text-align: center;"> <img src="http://placehold.it/300x300/" alt="custom image" /> </div> <?php } add_action('woocommerce_after_cart', 'custom_image_content');Hope it helps 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1411605 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
