Image not showing in description (woocommerce)
Budget: $30 – $250 AUD
I'm trying to get an image to show automatically on product pages in the description (code below). Example url is: https://www.forestsuperfoods.com.au/product/divine-woman-super-food-mix/
Please tell me why this is not working and how to fix (no access to admin/ftp provided)
add_filter('wcsatt_single_product_one_time_option_description', 'sw_wc_apfs_change_none');
function sw_wc_apfs_change_none($none_string) {
$none_string = "One-time purchase";
return $none_string;
}
function so_43922864_add_content() {
echo '<a href="/highest-quality-super-foods/" target="_blank"><img src="' . site_url() . '/wp-content/uploads/2020/09/aco-google-shopping.png" width="100px" style="float:right;" class="aco-product"></a>';
}
Please tell me why this is not working and how to fix (no access to admin/ftp provided)
add_filter('wcsatt_single_product_one_time_option_description', 'sw_wc_apfs_change_none');
function sw_wc_apfs_change_none($none_string) {
$none_string = "One-time purchase";
return $none_string;
}
function so_43922864_add_content() {
echo '<a href="/highest-quality-super-foods/" target="_blank"><img src="' . site_url() . '/wp-content/uploads/2020/09/aco-google-shopping.png" width="100px" style="float:right;" class="aco-product"></a>';
}