andywatt
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Adding a delete button to checkoutokay found the answer:
add_action( ‘woocommerce_add_cart_item_data’, ‘woocommerce_clear_cart_url’ );
function woocommerce_clear_cart_url() {
global $woocommerce;
$woocommerce->cart->empty_cart();
}Forum: Plugins
In reply to: [WooCommerce] Remove duplicate items from cartThank you! It worked like a charm!
/*empty cart if user come to homepage*/
add_action( ‘init’, ‘woocommerce_clear_cart_url’ );
function woocommerce_clear_cart_url() {
global $woocommerce;if ($_SERVER[‘REQUEST_URI’] === ‘/’) {
$woocommerce->cart->empty_cart();
}
}Forum: Plugins
In reply to: [Interactive Content – H5P] Image hot spotsHey icc0rz!
Yes that did do the trick thank you ??
On the official H5p website the official/tutorial file is missing images, although I did find another file on their website forum that did work.Thanks ??
Do you also know how to decrease the hot spot points on the mobile phone? They are way to big right now…
Forum: Themes and Templates
In reply to: Virtue theme menu overlapping on IpadHey Suyogya,
I’m sorry, I did not understand what you meant with my logo being to big until I opened it up in photoshop and checked the dimensions. I resized the logo and it fits now.
Thank you for your help!
Greetings,
AndreaForum: Themes and Templates
In reply to: Virtue theme menu overlapping on IpadHey Suyogya,
The logo does get very big on an Ipad, but it really is not that big to begin with. On a computer screen it is fine. Make is smaller and it does not look good at all. So it’s like I have to make a sacrifice here: Ipad vs computer screen.
There has to be an other way.
Thanks for responding,
Andrea
Forum: Themes and Templates
In reply to: Virtue theme menu overlapping on IpadDear Suyogya,
That would be a last resort option, but I would like to keep the size the way it is on the desktop screen.
I find it strange that the Ipad has the menu covering up the logo while with the cellphone there is no problem.
But thanks for the advice, because if nothing else works, I might have to use this option which I don’t really want to do.
Isn’t there some code that can be used?