gergeda008
Forum Replies Created
-
thanks for the answer @roshni07,
I am not good in coding.
if I bought the pro version of your plugin will you help me with that? I like your plugin but this feature is very important for my website… I don’t want to look for other plugins
thanks
Forum: Plugins
In reply to: [YITH WooCommerce Quick View] scroll does not work on mobile devicesI solved the problem by adding this css -webkit-overflow-scrolling: touch;
Forum: Plugins
In reply to: [YITH WooCommerce Quick View] scroll does not work on mobile devicesForum: Plugins
In reply to: [WooCommerce] Stock status doesn’t change to out of stock if stock is zerohallo @maykato ,Thanks for your attention.
I do not think that anyone here will help me with this question, i will try to find the answer in other forums.
Regards
Forum: Plugins
In reply to: [WooCommerce] Stock status doesn’t change to out of stock if stock is zeroyou could just answer “no, we cannot help you with this” so that I do not wait in vain for an answer, it is very offensive when someone ignores you….
hope your support is more respectful for other customers.
Forum: Plugins
In reply to: [WooCommerce] Stock status doesn’t change to out of stock if stock is zerohallo @riaanknoetze
that plugin is no longer supported…
I found a code that hides out of stock items from the catalog ( without this option enabled in the woocommerce settings ).
add_action( 'pre_get_posts', 'njengah_hide_out_of_stock_products' ); function njengah_hide_out_of_stock_products( $query ) { if ( ! $query->is_main_query() || is_admin() ) { return; } if ( $outofstock_term = get_term_by( 'name', 'outofstock', 'product_visibility' ) ) { $tax_query = (array) $query->get('tax_query'); $tax_query[] = array( 'taxonomy' => 'product_visibility', 'field' => 'term_taxonomy_id', 'terms' => array( $outofstock_term->term_taxonomy_id ), 'operator' => 'NOT IN' ); $query->set( 'tax_query', $tax_query ); } remove_action( 'pre_get_posts', 'njengah_hide_out_of_stock_products' ); }
this code works fine for out of stock items,
can you help remake it for backorder?Regards
- This reply was modified 4 years, 1 month ago by gergeda008.
Forum: Plugins
In reply to: [WooCommerce] Stock status doesn’t change to out of stock if stock is zeroHallo @maykato,
Thanks for responding.
sorry for my english, i use google translator for this.
I found a plugin that causing the issue, but i can’t just delete it, that plugin is very important for my site…
I added a code that does not give
for the client to choose a backorder variationadd_filter( 'woocommerce_variation_is_active', 'my_jazzy_function', 10, 2 ); function my_jazzy_function( $active, $variation ) { $var_stock_count = $variation->get_stock_quantity(); if( $var_stock_count <= 0 ) { return false; } else { return true; } }
maybe there is a way to hide backorder items from the catalog? i think it would solve my problem.
Thanks for any help.
- This reply was modified 4 years, 1 month ago by gergeda008.
Forum: Plugins
In reply to: [Advanced Woo Search] show outofstock product only for adminthank you very much! @mihail-barinov
works great!i will share my appreciations by rating your plagin
Forum: Plugins
In reply to: [Advanced Woo Search] show outofstock product only for adminhallo @mihail-barinov
Thanks for responding.
yes, I know about this option,
but this option hides products not only for the buyer but also for the administrator…i just want to add a line `<?php if( current_user_can(‘manage_woocommerce’)) { ?>
/*here should be a code that shows out of stock product for administrator ( this is what i’m looking for ) */
<?php } ?> `thanks
thank you very much @RashedRipon!
Have not seen such good support yet,
i left my comment and wrote everything I think about your plugin.
Very good !! Thx Rashed !- This reply was modified 4 years, 3 months ago by gergeda008.
- This reply was modified 4 years, 3 months ago by gergeda008.
sir, sorry if i bother you, but this is the last thing I would like to do
with this plagin.i was wondering maybe i can add to this vendor “payment” information too,
I pay vendors using the bank transfer method and if this information will displayed on the product page it would make my job much easier.thanks
Thank you so much, i was trying to figure out how to do this all day … Now everything works great!