ecommercegroupbv
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Font awesome icon + text above or under add to cartI tried using
add_action( 'woocommerce_loop_add_to_cart_link', 'add_content_after_addtocart' ); function add_content_after_addtocart() { echo '<div class="second_content">'; echo '<i class="fa-solid fa-truck"></i></i>'; echo '<span>Voor 15:00 uur besteld, morgen in huis!</span></div>'; }Forum: Fixing WordPress
In reply to: Font awesome icon + text above or under add to cartHi Threadi,
I tried the hook you suggested, it does indeed add the icon and text but it makes the add to cart button dissapear.
Forum: Fixing WordPress
In reply to: wp block buttons wont align.wp-container-6 {
margin: 13.4px auto auto;}
did the trick, thanks anyways
Forum: Fixing WordPress
In reply to: wp block buttons wont alignHi Lisa,
There are 4 wp blocks with hyperlink.
They are orange and named “Verhuisdozen”, “Verhuispakketten”, “tvdozen/schilderijdozen” and “Overig verhuismateriaal”.
The block “verhuisdozen” is placed a higher than the other 3 so i would like to align this one with the other 3.
It is indeed a custom developed theme and i have no more contact with the support team, thats why im looking for a solution on the forum.
Forum: Plugins
In reply to: [WooCommerce] Cart page woocommerce_cart_item_quantity@roxannestoltz Works like a charm, thanks!
Forum: Plugins
In reply to: [WooCommerce] Cart page woocommerce_cart_item_quantity@maykato Thank you for your reply, we would prefer a hard coded solution.
Forum: Fixing WordPress
In reply to: Single product page min quantity@bcworkz Working perfectly now, thank you very much!
Forum: Fixing WordPress
In reply to: Single product page min quantity@bcworkz Thank you for your reply.
I tried using your code but im getting the following error code:
syntax error, unexpected ‘;’The code i tried using right now is:
// 1. Single Product Page add_filter( 'woocommerce_quantity_input_min', 'bloomer_woocommerce_quantity_min_12_eur', 9999, 2 ); function bloomer_woocommerce_quantity_min_12_eur( $min, $product ) { if ( is_product() ) { if ( in_array( $product->get_id(), [20688,25610] ) { $min = ceil( 12 / $product->get_price() ); } }The error is on line 444 which is:
$min = ceil( 12 / $product->get_price() );Any idea what causes this error?
Forum: Fixing WordPress
In reply to: Tables are not showingHi Threadi,
Thank you for your response.
I have added a screenshot of which should be shown as table.