jddh21
Forum Replies Created
-
Awesome!
Thank you for your time!
Sounds good!
Just to verify, Is this possible with the premium version or it’s something that needs to be customized?
Let me know, Thanks!
Forum: Plugins
In reply to: [YITH WooCommerce Quick View] Black screen on mobileAwesome, that works! I’ll customize the rest accordingly.
Thank you so much!
Forum: Plugins
In reply to: [WooCommerce] Addition information is missing in product single pagesHey Caleb,
Thank you for your reply. I did what you suggested and it seems to be a problem with the theme. once I switched to Storefront, the content appeared back again. Unfortunately this website was developed by a company and they did not provide any resources such as the template license key to request support.
By any chance is there any other suggestion you think that might work?
I’m just trying to save my friend some money lol
Thank you for your time.
Forum: Plugins
In reply to: [WooCommerce] Redirect category if it only has a single productThanks for the reply.
You are right, once I enable WP_DEBUG I received the following error:
Warning: Cannot modify header information – headers already sent by (output started at /home1/uhshardw/public_html/wp-content/plugins/bwp-minify/includes/class-bwp-minify.php:3439) in /home1/uhshardw/public_html/wp-includes/pluggable.php on line 1228This only happens when I add the above code in my function.php file. I checked my pluggable.php file and this is what I have in line 1228:
header(“Location: $location”, true, $status);I also checked for any whitespace or any error code withing the files but the same result 🙁
Forum: Plugins
In reply to: [WooCommerce] Redirect category if it only has a single productThank you Mike for your prompt reply,
Unfortunately, it didn’t work. I’m still getting a blank page.
Are this the right changes?
/* Redirect if there is only one product in the category */ add_action( 'wp_head', 'woocom_redirect_if_single_product_in_category', 10 ); function woocom_redirect_if_single_product_in_category() { global $wp_query; if (is_product_category()) { $cat_obj = $wp_query->get_queried_object(); $catcount = $cat_obj->count; if ($catcount > 1 ){ return; } $product = wc_get_product($wp_query->post->ID); if($product){ if ( $product->is_visible() ){ $link = get_permalink($product->post->id); wp_redirect($link, 302 ); exit; } } } return false; }Forum: Reviews
In reply to: [Woocommerce Single Product Search Redirect] Does not workingYou do not have sufficient permissions to access this page. That’s all you are going to get!
We don’t need it as this site is specific for one country only and we will not authenticate the payments based on the shipping details but Paypal itself. Therefore, As the customer country is understood, I disable this option.
Thank you for your collaboration lorro,
Your reply lead me to a solution, all I did was to change the shipping restriction.
I changed from: “ship to specific countries” to “Ship to all Countries”This way there is not conflict with the script when it tries to find that specific country.
I hope this help others.
Thanks Again 🙂