-
You guys doing pretty good job with woocommerce “simple product”, but not so much with “external product” (I know, it’s rarely use). On this page
the image doesn’t have a link.
I just want a link to a product just like the button.
————————————————————————————–
add_action(‘woocommerce_after_shop_loop_item’,’replace_add_to_cart’);
function replace_add_to_cart() {
global $product;
$link = $product->get_permalink();
echo do_shortcode(‘[button border_radius=”10″ three_d=”no” size=”small” color=”belize” title=”More Info” link=”‘.esc_attr($link).'”]’);
}
—————————————————————————————-thank you guys
-
HB-Themes support team typically replies to all topics within 48 hours except on weekends and public holidays. You must register to post topics.
Forum Categories
- Highend WP Theme 25,510
- Aegaeus WP Theme 1,616
- Requests and Feedback 133