themacmaker
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Product by Category block not workingI switched the theme to Twenty Five and deactivated every plugin except for WooCommerce. I cleared my cache (browser and server). I’m still seeing the same products: https://staging33.themacmaker.com/current-flavors-2/
Here are the screenshots you asked for:

Forum: Plugins
In reply to: [WooCommerce] Product by Category block not workingSorry, had to change some settings to share. https://staging33.themacmaker.com/current-flavors-2/
Forum: Plugins
In reply to: [WooCommerce] Product by Category block not workingSG support confirmed all cache was cleared, yet the products displayed didn’t change. “I am sure that when WooCommerce checks the short code, they should be able to modify it or see why it is not working, as there is no old cache preventing it”
Forum: Plugins
In reply to: [WooCommerce] Product by Category block not working
Straight quotes. I’ll reach out to SG now.
Forum: Plugins
In reply to: [WooCommerce] Product by Category block not workingJust switched to Twenty Five theme, cleared cache, and it’s still showing both stock statuses. It’s like the instock filter isn’t working at all.
Forum: Plugins
In reply to: [WooCommerce] Product by Category block not workingYes to all of that too. What a head scratcher!
Forum: Plugins
In reply to: [WooCommerce] Product by Category block not workingI cleared all the caches from Siteground site tools and it’s still not working as expected. I love that it’s showing what I need and that I successfully hid the Add to Cart buttons, I just need to eliminate all of the out of stock products. I’ll see if ChatGPT has anything to say about it.
Forum: Plugins
In reply to: [WooCommerce] Product by Category block not workingSorry I wasn’t specific. I’m doing this on a staging site that I created from my live site just before implementing any changes. I used the Purge SG Cache button on the backend in WP after all of those changes.
Forum: Plugins
In reply to: [WooCommerce] Product by Category block not workingI deleted the extra php and followed all your suggestions and the shortcode is still showing in stock and out of stock flavors. I’ll have to dig deeper…thanks for your help!
Forum: Plugins
In reply to: [WooCommerce] Product by Category block not workingRegarding your steps for making sure only in stock products are shown:
1. WooCommerce > Settings → Products > Inventory > enable “Hide out of stock items from the catalog.” Already enabled
2. Make sure each flavor is actually set to “Out of stock” (or has Manage stock enabled and quantity > 0 for in-stock). Already true/shown as Out of Stock
3. If you use caching (page cache/CDN), clear it after changes. Cleared cacheNo change in displaying flavors based on stock status, so something’s not working there.
The CSS for hiding the buttons worked perfectly!
Forum: Plugins
In reply to: [WooCommerce] Product by Category block not working@mosesmedh @serafinnyc thank you both for the shortcode instructions! Unfortunately it’s pulling in flavors regardless of stock status. I added the following code to the php file but even implementing that still displays both in-stock and out of stock flavors. Any ideas how to limit to only show in stock? And is there any way to disable the Add to Cart buttons? Screenshot included of what front end looks like with shortcode & filter code.
add_filter('woocommerce_shortcode_products_query', 'woocommerce_shortcode_products_instock_best_selling', 10, 3);
function woocommerce_shortcode_products_instock_best_selling($query_args, $attributes, $type) {
if ('best_selling_products' === $type) {
$query_args['meta_query'][] = array(
'key' => '_stock_status',
'value' => 'instock',
);
}
return $query_args;
}
Forum: Plugins
In reply to: [WooCommerce] Modern email template design issues@serafinnyc Yeah it’s been an unusual ride. I cleared cache in my browser, tried a different browser, and cleared all my site cache.
Forum: Plugins
In reply to: [WooCommerce] Modern email template design issues@serafinnyc Glad we finally figured this out. I just switched all of my transactional emails to send through AutomateWoo and all is looking good now. Thanks for your help and patience!
Forum: Plugins
In reply to: [WooCommerce] Modern email template design issues@serafinnyc You’re absolutely right! I created a Yahoo account and tested the email and it shows up perfectly. So what now?
Forum: Plugins
In reply to: [WooCommerce] Modern email template design issues@serafinnyc just did that and tested again. No change.