hh100
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Preventing customers from adding same item to cart?Woocommerce dashboard > product page > [any product in your inventory] > [scroll down] inventory > tick “Enable this to only allow one of this item to be bought in a single order”.
Forum: Plugins
In reply to: [WooCommerce] Preventing customers from adding same item to cart?It’s a standard option on the product page.
Forum: Plugins
In reply to: [WooCommerce] Show Related Products based on tags onlyThe above ones work perfectly, but I’m looking to expand this. I’ve set my product page to show 5 related items. But I would like it to:
– First: show related products based on tags (like the coding above), but
– Second: in case of not enough, or even none similar tagged items, show related by category (which is the standard).Is there a way to implement this?
Forum: Fixing WordPress
In reply to: Change or remove site identity linkI found a way to work around it. Doesn’t really fix it, but works to me.
In Theme editor, empty the 404.php file completely and put only the lines below in it. It will re-direct the 404 page to the home page.
<?php
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: “.get_bloginfo(‘url’));
exit();
?>Forum: Fixing WordPress
In reply to: Change or remove site identity linkIt’s a semi-private site for a client, I rather not post it. No code or layout has been changed. Running simple Storefront theme.
Forum: Themes and Templates
In reply to: [Twenty Twenty] Change url of Site IdentityBumping this, because this wasn’t solved. Like the author, I’m trying to have the site identity logo in the header point to something custom. Right now, for some strange reason, it’s pointing to a directory called …/187-2/ I don’t know what that is and it gives a 404 error. I would rather it simply points to Root or to /News.
Dashboard/Customize/Header only has the option to change picture and some colours.
Dashboard/Settings/Reading isn’t helping either.
Thanks.