Forum Replies Created
-
AuthorPosts
-
Hi Harry.
Thanks for the code. I added it and it doesn’t work. Only pops up and does the same thing. I don’t understand. Can you help? There’s also some kind of theme error in the console if you look here: https://instockgems.com/shop/
Thank you.
Thank you!
BrentHey Harry I temporarily used CSS to hide the Quick View button, What I would like to do if possible would be to change the tooltip on it to “See Details” and have it link directly to the product since we can’t display all of the information there.
Thank you,
Brent
Thank you!
BrentHey Harry, thanks for checking it out, that’s weird. So then I would prefer it if people would go directly to the single detail page. Can we change the link so that it goes directly there?
Thanks man, your the best.
Thank you!
BrentHarry I’m headed to bed. Let me know what to do to get the description to show up in the quick view.
Thank you. Have a good day!
Brent
Thank you!
BrentHere’s the page: https://instockgems.com/shop/
Thank you!
BrentI forgot about this.. but I had saved a file from before.
But it doesn’t show even after making changes and clearing caches. ??
Thank you!
BrentThanks Harry.
For some reason the description does not show up in the “Quick View” and I need it too. What can we do to fix that?
Thanks again.
Thank you!
BrentThanks Harry that works great. I do have a couple more question about that.
If I have multiple categories that I want to hide would I do something like this?
‘
‘terms’ => array( ‘closeouts, another-category, another-category2’ ),
‘
I am using the Dokan plugin where I can have others add products from the frontend. On this page:
https://instockgems.com/store/brentwallace/
the test stone still shows up. There’ll be other pages like /store/john OR /store/sally:
How would I add those in also to hide?
Thanks again! You’re the best!
Thank you!
BrentHi Harry, how ya doing?
I created a category of “closeouts” and I don’t want those items to show up on the regular /shop page.
But I do want them to show up on the category page: https://instockgems.com/product-category/closeouts/
I found a script but it hide them everywhere. Can you help please?
Thanks, Brent
This what I used… figured you’d have a better solution:
‘
/* Exclude Close Outs the shop page */
function custom_pre_get_posts_query( $q ) {$tax_query = (array) $q->get( ‘tax_query’ );
$tax_query[] = array(
‘taxonomy’ => ‘product_cat’,
‘field’ => ‘slug’,
‘terms’ => array( ‘closeouts’ ), // Don’t display category on the shop page
‘operator’ => ‘NOT IN’
);$q->set( ‘tax_query’, $tax_query );
}
add_action( ‘woocommerce_product_query’, ‘custom_pre_get_posts_query’ );‘
Thank you!
BrentHey Harry I’m getting a notice to update WPBakery Page Builder again.
Do you have an update?
thanks,
Thank you!
Brent -
AuthorPosts