Dear @slw250@hotmail.com,
We apologize for the delayed response due to the weekend.
Kindly note that replying to your own topics will move them to the bottom of the queue, which may result in a longer waiting time.
1. Please add the following code to the functions.php file located in your child theme:
function max_quantity_single( $max, $product ) {
if (is_product()) return $max;
$stock = get_post_meta( get_the_ID(), '_stock', true );
return $stock;
}
add_filter( 'woocommerce_quantity_input_max', 'max_quantity_single', 10, 2 );
2. The previous hooks are no longer functional. Kindly update your custom code to use the following hook:
after_etheme_product_grid_list_product_element_title
I hope this helps. Please let us know if you need any further assistance.
Best regards,
8Theme Team















