sharingsunshine
asked on
I Need A Custom Shortcode To Include Price and Add to Cart Button
This is a follow on to this question
This is the perfect size image but I also need it to show the price and an add to cart button.
https://www.experts-exchange.com/questions/29145432/Need-WooCommerce-Product-Short-Code-That-Uses-Thumbnail.html#a42863437
This is the perfect size image but I also need it to show the price and an add to cart button.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No worries.
I'm using PHP 7.3 and you can indent the closing HEREDOC - it's a new (much loved) feature. I used to hate the fact that HEREDOC ruined my code indentation. PHP 7.3 - Problem Solved !!
I'm using PHP 7.3 and you can indent the closing HEREDOC - it's a new (much loved) feature. I used to hate the fact that HEREDOC ruined my code indentation. PHP 7.3 - Problem Solved !!
ASKER
Thanks for letting me know I am on 7 but not 7.3.
ASKER
Now it works perfectly.