• Resolved pirate_hj

    (@pirate_hj)


    Hello,
    I want the role couldn’t edit or delete others products but not working..
    I tried Shop manager(by Woocommerce), Author(by WordPress) roles also made new role and didn’t work. I had unchecked all except edit_ports however still can edit and delete others.. Could you help me please?

    
    ### WordPress Environment ###
    
    Home URL: https://hermart.kr
    Site URL: https://hermart.kr
    WC Version: 2.6.11
    Log Directory Writable: ?
    WP Version: 4.7
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.0.0p1
    PHP Post Max Size: 21 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.29.0
    NSS/3.19.1 Basic ECC
    
    SUHOSIN Installed: –
    Max Upload Size: 21 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 2.6.11
    : 
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    MaxMind GeoIP Database: ?
    
    ### Active Plugins (28) ###
    
    Polylang: by Frédéric Demarle – 2.0.12
    Ad Inserter: by Igor Funa – 2.0.8
    Admin Custom Login: by Weblizar – 2.4.7.1
    Adminimize: by Frank Bültge – 1.11.2
    BackWPup: by Inpsyde GmbH – 3.3.4
    iThemes Security: by iThemes – 6.0.0
    Broken Link Checker: by Janis Elsts
    Vladimir Prelovac – 1.11.2
    
    EWWW Image Optimizer: by Shane Bishop – 3.2.2
    Google Analytics Dashboard for WP: by Alin Marcu – 4.9.5
    ???? ???? - ??: by iamgood – 1.0
    MangBoard WP: by Hometory – 1.4.1
    Naver Web Syndication v2: by iamgood – 1.1
    Open in New Window Plugin: by Keith P. Graham – 2.4
    Peter's Login Redirect: by Peter Keung – 2.9.1
    Post Expirator: by Aaron Axelsen – 2.1.4
    Redirection: by John Godley – 2.5
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6
    Restrict Taxonomies: by Sladix – 1.3.0
    Sassy Social Share: by Team Heateor – 2.5.5
    Page Builder by SiteOrigin: by SiteOrigin – 2.4.21
    SiteOrigin Widgets Bundle: by SiteOrigin – 1.7.2
    Speed Booster Pack: by Tiguan – 2.8
    User Role Editor: by Vladimir Garagulya – 4.31.1
    Hyyan WooCommerce Polylang Integration: by Hyyan Abo Fakher – 0.29
    WooCommerce: by WooThemes – 2.6.11
    Yoast SEO: by Team Yoast – 4.0.2
    WP-Optimize: by David Anderson
    Ruhani Rabin
    Team Updraft – 2.1.0
    
    MailPoet Newsletters: by MailPoet – 2.7.5
    
    ### Settings ###
    
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ?
    
    ### WC Pages ###
    
    Shop Base: ? Page not set
    Cart: ? Page ID is set
    but the page does not exist
    
    Checkout: ? Page ID is set
    but the page does not exist
    
    My Account: #7 - /%eb%82%b4-%ea%b3%84%ec%a0%95/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Virtue Premium Child
    Version: 1.0.0
    Author URL: https://example.com
    Child Theme: ?
    Parent Theme Name: Virtue - Premium
    Parent Theme Version: 3.9.6
    Parent Theme Author URL: https://www.kadencethemes.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: virtue_premium/woocommerce/archive-product.php
    virtue_premium/woocommerce/content-product.php
    virtue_premium/woocommerce/content-product_cat.php
    virtue_premium/woocommerce/content-single-product.php
    virtue_premium/woocommerce/loop/loop-end.php
    virtue_premium/woocommerce/loop/loop-start.php
    virtue_premium/woocommerce/loop/rating.php
    virtue_premium/woocommerce/loop/sale-flash.php
    virtue_premium/product-searchform.php
    virtue_premium/woocommerce/single-product/add-to-cart/external.php
    virtue_premium/woocommerce/single-product/add-to-cart/grouped.php
    virtue_premium/woocommerce/single-product/add-to-cart/simple.php
    virtue_premium/woocommerce/single-product/add-to-cart/variable.php
    virtue_premium/woocommerce/single-product/product-image.php
    virtue_premium/woocommerce/single-product/product-thumbnails.php
    virtue_premium/woocommerce/single-product/related.php
    virtue_premium/woocommerce/single-product/sale-flash.php
    virtue_premium/woocommerce/single-product/title.php
    virtue_premium/woocommerce/single-product/up-sells.php
    virtue_premium/woocommerce/single-product.php
    virtue_premium/woocommerce/taxonomy-product_cat.php
    virtue_premium/woocommerce/taxonomy-product_tag.php
    
    
    • This topic was modified 7 years, 10 months ago by pirate_hj.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    WooCommerce products custom post type is protected by ‘products’ capability, like ‘edit_products’, ‘edit_others_products’, etc. Exclude ‘edit_others_products’, ‘delete_products’ to achieve your purpose.

    What is ‘ports’?

    Thread Starter pirate_hj

    (@pirate_hj)

    Thanks for replying,
    Sorry typo, ‘Posts’.
    I had tried excluding them and didn’t work but now! I don’t know what happened but It work!

    Sincerely,
    HeeJae

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘product role doesn’t work.’ is closed to new replies.