cimot456
Forum Replies Created
-
I’ve made sure the roles and meta keys are not wrong.
But unfortunately the code doesn’t work for me.
Any idea?
Thank you
Forum: Plugins
In reply to: [WooCommerce] Can’t access /wp-admin/edit.php?post_type=productHi @margaretwporg
Yes, of course I did that.I’ve added as described here to wp-config.php as well as to php.ini but it didn’t work for me.
(Sorry I didn’t check whether the link was linked or not)In the current settings the memory limit is set at 256M with the max_execution_time set to 120.
Thank you
Forum: Plugins
In reply to: [WooCommerce] Can’t access /wp-admin/edit.php?post_type=productHi @rynald0s , @oaoyadeyi , @csnlima
Additional information :
If I enable debugging, the shop page on the front end can be accessed normally.
Then on the back end, on the wp-admin/edit.php?post_type=product page the status changes to 200 OK (Screen remains white/blank)
But if I disable debugging, the shop page becomes inaccessible (blank/white screen) without any information.
And on the wp-admin/edit.php?post_type=product page the status changed from 200 ok to 500 internal server error.
Thank you
Forum: Plugins
In reply to: [WooCommerce] Can’t access /wp-admin/edit.php?post_type=productHi @rynald0s and @oaoyadeyi , I’m really sorry for the late reply.
I’ve added as described here to wp-config.php as well as to php.ini but it didn’t work for me.
For debugging it has been activated but the page does not display anything other than a white screen.
I did an inspect element and looked at the network hope this helps in seeing what’s going on.
(See attachment)Regarding error 500, I’ve told the hosting provider and they said to do what I explained in the previous answer.(and it didn’t work either).
I’m considering resetting/wiping all data on the hosting and starting everything over from scratch (at least on the woocommerce part).
Although I honestly don’t want to do that.Before that happens, is there any other way to solve this problem?
Sincerely,
Thank YouForum: Plugins
In reply to: [WooCommerce] Can’t access /wp-admin/edit.php?post_type=productRevise point a : Theme default wordpress / storefront
Forum: Plugins
In reply to: [WooCommerce] Can’t access /wp-admin/edit.php?post_type=productHi @csnlima
I have tried this:
a. Switch to default wordpress theme.
b. Disabled all plugins except woocommerce.
c. Reactivate the plugins one by one and look for the plugin causing the conflict.
e. Disabling Drop-ins and must-use
f. Contact the hosting provider
g. Plugin woocommerce deactived and re-actived.
h. Uninstalled plugin woocommerce and reinstalling it.
But all these efforts were fruitless.
Can you help me to find the cause and fix this error.
Tired because it’s been more than 3 days wrestling with this..
Thank You
Forum: Plugins
In reply to: [WooCommerce] fatal-errors on tab panel admin woocommerce > status > logForum: Plugins
In reply to: [WooCommerce] Get the total sum (number) on the attribute valueIt’s ok, thank you @margaretwporg
Forum: Plugins
In reply to: [WooCommerce] how to change hooks properly?thanks for your reply.
I completely forgot to mark that this was resolved.
I fixed by replacing
just this line
add_action( 'woocommerce_product_options_pricing', 'add_custom_field_product_options_pricing' );
to
add_action( 'woocommerce_product_options_inventory_product_data', 'add_custom_field_product_options_pricing' );
And it works as I expected.
Forum: Plugins
In reply to: [WooCommerce] Get the total sum (number) on the attribute valueExample :
The product has a color attribute.
The color attribute has 3 colors, namely red, yellow and green.
Number of products in each attribute (on the back end) ;
Red color : 2
Yellow color : 6
Green color : 1If I use the url in the browser :
mysite.com/colour/red
Then 2 products will appear that has a red color.
I got this to calculate the total attribute on the color.
$options = array('hide_empty' => false); $terms = get_terms('pa_color', $options); $count = count($terms); echo $count;
The result is 3
Because i have the colour attribute total 3However I want to count the total products that have a red color.
That means I have to get the number 2 in the example here.
I hope this explanation helps,
Thank YouForum: Plugins
In reply to: [WooCommerce] how to change hooks properly?Ok thanks for reply
Forum: Themes and Templates
In reply to: [OceanWP] Hide related products from non logged in users