I’m using PRODUCTS widget/module in elementor theme builder to build an archive layout.
I’m also using a ACF custom field “velikost_nosilnost” which is shown after product title here
https://ergovision.si/gaming-stoli/
https://share.cleanshot.com/tQ81kJXM
This is the code I’m using.
add_action( ‘woocommerce_after_shop_loop_item_title’, ‘bbloomer_show_free_shipping_loop’, 5 );
function bbloomer_show_free_shipping_loop() {
echo do_shortcode( ‘
‘ );
}
Works fine, but PRODUCTS widget is now deprecated and I need to switch to xstore’s ARCHIVE PRODUCTS widget.
I made it so it looks exactly the same, but now ACF field is not showing cause xstore uses different hooks I guess.
I tried this hook
add_action( ‘etheme_product_grid_list_product_elements’, ‘bbloomer_show_free_shipping_loop’, 5 );
function bbloomer_show_free_shipping_loop() {
echo do_shortcode( ‘
‘ );
}
but only got this far 🙂
https://share.cleanshot.com/85GDlYY3