Now that I want to redirect to the cart, it persists in redirecting to checkout, and I have no idea why. This only happens with this specific subscription product, the other one (not subscription) we have worked fine. I’m using Elementor and Woocommerce Subscriptions and already tried rebuilding the CSS in Elementor, resetting the cache, and saving permalinks again, but nothing has worked so far.
]]>I’m looking to edit the text size and menu layout of the variation selection in the Woocommerce custom add to cart widget using Elementor. Th widget seems to only allow the editing of the add to cart button itself, but not the drop down menu, size/font of the variation selection title or quantity selection.
Can this be achieved with custom CSS?
Any help would be appreciated!
]]>I am writing a custom code in the functions.php that alters the quantities in the basket based on some criterias, after a product is added. The change is instantly shown on the cart icon in the menu, but the numbers don’t change on the product buttons itself.
Is there a way to update the numbers shown on the plugin’s “Add to cart” button that can easily be called from the functions.php?
I would be so greatful if this could be done.
Thanks in advance for your help!
Tamas
]]>Dear WP comunity. Can someone please write me a CSS code to solve the problem as shown in the screenshot.
The second picture that is at the bottom of the link shows how I would like it to be.
https://paste.pics/59bb7d3c1f5a7d118f29e795103ddc50
]]>I am using the premium version of this plugin,
I set the manual amount to be entered by user, who want to buy the giftcard,
everything works fine. But I need to custom add to cart url with manual amount of gift card.
Is that any way to custom add to cart url for giftcard with amount?
]]>I’d need to know what property to access to check whether a product has the fixed quantity pricing active and then if there’s a function or chunk of code that would display the dropdown with fixed pricing for that specified product.
Here’s my code that’s working for the quantity input:
<form action="<?php echo esc_url( $product->add_to_cart_url() );?>" class="cart <?php echo $lowinv_alert;?>" method="post" enctype="multipart/form-data">
<td>
if ($reorder > 0 ){
echo woocommerce_quantity_input( array('input_value' => $reorder ), $product, false );
}else{
echo woocommerce_quantity_input( array(), $product, false );
}
?>
</td>
<td>
<button type="submit" class="button alt">Add To Cart</button>
</td>
</form>
Any help is much appreciated!
]]><?php $eshop_product=get_post_meta( $post->ID, '_eshop_product',true ); ?>
<input type="hidden" name="option" value="Option 1" />
<input type="hidden" name="qty" value="1" />
<input type="hidden" name="pclas" value="<?php echo $eshop_product['shiprate'] ?>" />
<input type="hidden" name="pname" value="<?php echo stripslashes(esc_attr($eshop_product['description'])) ?>" />
<input type="hidden" name="pid" value="<?php echo $eshop_product['sku'] ?>" />
<input type="hidden" name="purl" value="<?php echo get_permalink($post->ID) ?>" />
<input type="hidden" name="postid" value="<?php echo $post->ID ?>" />';
<input class="Boton_Comprar" value="Comprar" title="Agregar el producto seleccionado a la orden de compra" type="submit" />
But this code not work, because the $eshop_product variable is empty, then the cart not show anything.
I think i need aditional lines to fix it.
Someboy can help?
Thanks.