The View More Icon keeps buffering and does not load more products on the page with ajax.
]]>I’m dealing with this issue, I translated the strings I wanted using Loco Translate pluging exactly how you describe here, but for some reason the link “View more” located on the bar does not appear translated.
I also tried another option, that is replace this link to my “Privacy Policy” located on the text bar as a link, but I can’t find where to disable or exclude the link “View more”.
Is there any possibility on both cases you can figure out for me? Thanks <3
]]>As the title suggests, I want to replace all Add to cart buttons with View more buttons.
It’s working fine for products with multiple variations, but I want the same button for simple products as well, so the button would open the product.
So, I want these buttons to replace these buttons.
I tried adding some solutions that I found on similar posts, but they don’t work.
For example, this code:
/* Remove add to cart button */
add_action('woocommerce_before_shop_loop_item','remove_loop_add_to_cart_button');
function remove_loop_add_to_cart_button(){
global $product; // Current product
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 );
}
/* Add see details button to replace add to cart button*/
add_action('woocommerce_after_shop_loop_item','replace_add_to_cart_with_view_product');
function replace_add_to_cart_with_view_product() {
global $product;
$link = get_permalink();
echo '<a class="button" href="' . esc_attr($link) . '">See Details</a>';
}
This code leaves all Add to cart buttons on simple products, leaves the some buttons for products with multiple variations untouched, and for some (ALSO variable products) removes the icon from the button, the red part of the button stays, but it does still take me to product page. You can see this here.
What should I do?
Thank you
]]>Is there any way to use a ‘View more’ function with the [eme_events] shortcode? At the moment the entire event description is displayed in the events list and I can’t find a way to only display the first x lines.
Thanks
Ian
]]>Also how do I change the hover background color? I want the blue to match the logo, not the current blue that’s showing up as the background.
Thank you
]]>