NaturaMia
Forum Replies Created
-
It works with the following roles:
- edit_shop_order
- edit_shop_orders
- edit_published_shop_orders
- edit_private_shop_orders
- edit_others_shop_orders
- read_shop_order
- shop_order
- view_admin_dashboard
- woocommerce_order_itemmeta
- woocommerce_order_items
- woocommerce_view_order
Some of them need to be created using the ‘Add Capability’ section on the right sidebar
- This reply was modified 6 years, 3 months ago by NaturaMia.
Forum: Plugins
In reply to: [WooCommerce] Capability to View/Edit Orders ONLYUPDATE
- edit_shop_order
- edit_shop_orders
- edit_published_shop_orders
- edit_private_shop_orders
- edit_others_shop_orders
- read_shop_order
- shop_order
- view_admin_dashboard
- woocommerce_order_itemmeta
- woocommerce_order_items
- woocommerce_view_order
Some of them need to be created using the ‘Add Capability’ section on the right sidebar
So this is the solution to create a Role to Manage Orders@amanda: yes, Capability Manager Enhanced is a good tool to assign capabilities to roles. But my question was the WHAT not the HOW.
Regards:
Bence- This reply was modified 6 years, 3 months ago by NaturaMia.
When adding ‘manage_woocommerce’ capability, everythibng seems to be fine, except that now users (using the specific role) seems to be able to modify ALL the WooCommerce settings.
How can I restrict the role?
I would just need to enable ONLY post_type=shop_order
OR: restrict the role from accessing the following pages:
eh_pricing_discount
wc-reports
wc-settings
wc-status
wc-addonsIs it possible?
Thanks, IT WORKS!
- This reply was modified 6 years, 11 months ago by NaturaMia.
Simple: I want to display only one price – the one for the selected variation only. And hide the ‘static’ product price.
Hiding is simple:
div.product-type-variable > div.entry-summary > p.price {
display: none;
}…but making the form populate ‘price_html’ seems to be harder – since I am not a php programmer. According to my understanding this happens somewhere here: https://github.com/woocommerce/woocommerce/blob/master/includes/class-wc-product-variable.php#L148
…and not affected by filters ‘woocommerce_variable_price_html’ or ‘woocommerce_get_price_html’ or ‘woocommerce_variation_is_visible’ or ‘woocommerce_variation_empty_price_html’.So how could I achieve that goal?
Forum: Reviews
In reply to: [Ecwid by Lightspeed Ecommerce Shopping Cart] Nice but slowThanks for the shortcode example, I will use it!
About the page load: Details sent in private ??
Maybe this is because we are in Hungary(Europe) and not in U.S.?