Plugin Directory

Changeset 3415278


Ignore:
Timestamp:
12/09/2025 11:19:44 AM (6 weeks ago)
Author:
woosofts
Message:

1.3.1

  • Updated - Freemius SDK integration and flow (set_basename, safe first-path redirect, post-activation redirect to Woo settings, uninstall cleanup)
  • Added - Plugin row meta links (Docs, Feature Request) and Donate link
  • Improved - Readme content, tags, and metadata
Location:
store-restriction-for-woocommerce/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • store-restriction-for-woocommerce/trunk/includes/admin/class-srfw-register.php

    r3415191 r3415278  
    1010            add_action('rest_api_init', array( $this, 'srfw_register_routes' ));
    1111            add_action('admin_init', array( $this, 'init' ));
    12             // Register a hidden page for Freemius first-path and redirect to WC tab
    13             add_action('admin_menu', array( $this, 'srfw_register_hidden_redirect_page' ));
    14         }
    15 
    16         public function srfw_register_hidden_redirect_page() {
    17             // Register a hidden admin page to satisfy Freemius first-path
    18             add_submenu_page(
    19                 null,
    20                 __('Store Restriction', 'store-restriction-for-woocommerce'),
    21                 __('Store Restriction', 'store-restriction-for-woocommerce'),
    22                 'manage_woocommerce',
    23                 'store-restriction-for-woocommerce',
    24                 array( $this, 'srfw_redirect_to_wc_tab' )
    25             );
    26         }
    27 
    28         public function srfw_redirect_to_wc_tab() {
    29             // Avoid intercepting Freemius internal views or actions
    30             if ( isset( $_GET['fs_action'] ) || isset( $_GET['view'] ) ) {
    31                 return;
    32             }
    33             // Redirect to WooCommerce Settings tab used by the plugin UI
    34             wp_safe_redirect( admin_url( 'admin.php?page=wc-settings&tab=srfw' ) );
    35             exit;
    3612        }
    3713
  • store-restriction-for-woocommerce/trunk/readme.txt

    r3415191 r3415278  
    11=== Store Restriction for WooCommerce - Product Visibility & Access Control ===
    22Contributors: woosofts
    3 Tags: woocommerce, product visibility, restrict products, hide prices, user roles, wholesale, b2b, members only, country restriction, category restriction, private store, catalog visibility
     3Donate link: https://versesofts.com
     4Tags: woocommerce, restrict products, hide price, wholesale, members only
    45Requires at least: 5.0
    5 Tested up to: 6.8
    6 Stable tag: 1.3.0
     6Tested up to: 6.9
     7Stable tag: 1.3.1
    78Requires PHP: 7.0
    89License: GPLv2 or later
     
    1314== Description ==
    1415
    15 Store Restriction for WooCommerce transforms your WooCommerce store into a powerful restricted‑access platform. Whether you're running a wholesale business, B2B marketplace, or members‑only shop, this plugin gives you complete control over product visibility and access based on user roles, geographic location, and more.
     16Store Restriction for WooCommerce turns your shop into a precise, rules‑driven catalog that shows the right products to the right customers. Build wholesale catalogs, members‑only stores, or region‑aware assortments with simple, scalable controls that live inside WooCommerce Settings.
    1617
    17 Need help? Email [email protected]
     18Built for performance and compatibility, it works with native product/category data and standard WooCommerce filters, so your theme and other plugins keep working as expected.
    1819
    19 Looking for advanced features like bulk restrictions and order-based access rules? Check out PRO: https://versesofts.com
     20Need help fast? Email [email protected] or reach us via the links below.
    2021
    2122#### 🔥 Key Features
     
    2526* **Category Protection:** Set restrictions at the category level for efficient management
    2627* **Individual Product Control:** Apply granular restrictions to specific products
    27 * **Bulk Management:** Efficiently manage multiple restrictions at once
     28* **Bulk Management (Preview in Free):** Efficiently manage multiple restrictions at once
    2829* **Custom Restriction Messages:** Create tailored messages for restricted users
    2930* **Global Store Settings:** Control store-wide restriction policies
     31* **Modern UI in WooCommerce Settings:** Configure everything under `WooCommerce → Settings → Store Restriction`
    3032
    3133#### 🎯 Perfect For
     
    4749* Intuitive, easy-to-use interface
    4850* Global store configuration options
     51
     52Looking for advanced controls like full bulk editing and order‑based access rules? Preview them inside the plugin and upgrade anytime.
     53
     54#### 🔗 Useful Links
     55
     56- Website: https://versesofts.com
     57- Documentation (This Plugin): https://versesofts.com/docs/store-restriction
     58- All Docs (including other plugins like Price & Cart Hider): https://versesofts.com/docs
     59- Feature Request: https://www.versesofts.com/feature-request?plugin=store-restriction
     60- Contact: https://www.versesofts.com/contact
     61- Email Support: [email protected]
    4962
    5063== Installation ==
     
    90103We offer support via email:
    91104* Email: [email protected]
     105You can also reach us via:
     106* Contact: https://www.versesofts.com/contact
     107* Feature Request: https://www.versesofts.com/feature-request?plugin=store-restriction
    92108
    93109== Changelog ==
     110
     111= 1.3.1 =
     112* Updated - Freemius SDK integration and flow (set_basename, safe first-path redirect, post-activation redirect to Woo settings, uninstall cleanup)
     113* Added - Plugin row meta links (Docs, Feature Request) and Donate link
     114* Improved - Readme content, tags, and metadata
    94115
    95116= 1.3.0 =
  • store-restriction-for-woocommerce/trunk/store-restriction-for-woocommerce.php

    r3415191 r3415278  
    44 * Plugin URI: https://wordpress.org/plugins/store-restriction-for-woocommerce
    55 * Description: Store Restriction for WooCommerce transforms your WooCommerce store into a powerful restricted access platform. Whether you're running a wholesale business, B2B marketplace, or members-only shop, our plugin gives you complete control over product visibility and access.
    6  * Version: 1.3.0
     6 * Version: 1.3.1
    77 * Tags: woocommerce, product visibility, restrict products, hide prices, user roles, wholesale, b2b, members only, country restriction, category restriction, private store, catalog visibility
    88 * Author: WooSofts
     
    2424define('SRFW_PATH', plugin_dir_path(__FILE__));
    2525define('SRFW_FILE', __FILE__);
    26 define('SRFW_VERSION', '1.3.0');
     26define('SRFW_VERSION', '1.3.1');
    2727
    2828// Freemius Integration Start (restored)
Note: See TracChangeset for help on using the changeset viewer.