Plugin Directory

Changeset 3024034


Ignore:
Timestamp:
01/19/2024 11:20:24 AM (2 years ago)
Author:
ascendedcrow
Message:

Release 1.0.29.5

Location:
shop-2-api/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • shop-2-api/trunk/includes/Api/Shop2ApiConnect.php

    r3007787 r3024034  
    2222        $this->header = ['Authorization' => 'Token ' . $token];
    2323        if (get_site_url() == 'http://localhost:8000' || get_site_url() == 'http://127.0.0.1:8000') {
    24             $this->header = array_merge($this->header, ['authurl' => "https://testshop.shop2api.com"]);
     24            $this->header = array_merge($this->header, ['authurl' => "https://shop2api.com/testshop"]);
    2525        } else {
    2626            $this->header = array_merge($this->header, ['authurl' => get_site_url()]);
  • shop-2-api/trunk/includes/Pages/Admin.php

    r3007787 r3024034  
    261261            $ListTable = new Shop2Api_Wc2BolProductSettings();
    262262            echo wp_kses('<div class="wrap">', $this->allowed_html);
    263             echo wp_kses('<form method="post">', $this->allowed_html);
     263//            echo wp_kses('<form method="post">', $this->allowed_html);
    264264            // Common Header to be included everywhere and js should also be in the common.js
    265265            $shop2api_header = "WooCommerce To Bol Category Mapping";
     
    276276            $ListTable->prepare_items();
    277277            // Render Table
     278            echo wp_kses('<form method="POST">', $this->allowed_html);
     279            $ListTable->search_box(__('Search'), 'search-box-id');
     280            echo wp_kses('</form>', $this->allowed_html);
    278281            $ListTable->display();
    279282            echo wp_kses('<button id="category-save" class="shop-2-api-connect-save">Save</button>', $this->allowed_html);
    280             echo wp_kses('</form">', $this->allowed_html);
     283//            echo wp_kses('</form">', $this->allowed_html);
    281284            echo wp_kses('</div>', $this->allowed_html);
    282285            echo wp_kses('</div>', $this->allowed_html);
  • shop-2-api/trunk/includes/Tables/Wc2BolProductSettings.php

    r3007906 r3024034  
    7373    {
    7474        $search_val = '';
    75         if (!empty($_GET['s'])) {
    76             $search_val = sanitize_title_for_query(esc_attr($_GET['s']));
     75        if (!empty($_POST['s'])) {
     76            $search_val = sanitize_title_for_query(esc_attr($_POST['s']));
    7777        }
    7878
     
    210210
    211211    // Overwrite table nav to add the search bar.
    212     function display_tablenav($which): void
    213     {
    214         echo(wp_kses('<form action="" method="GET">', $this->allowed_html));
    215         if ('top' === $which) {
    216             $this->search_box(__('Search'), 'search-box-id');
    217         }
    218         parent::display_tablenav($which);
    219         echo(wp_kses('<input type="hidden" name="page" value="' . esc_attr($_REQUEST['page']) . '"/>', $this->allowed_html));
    220         echo(wp_kses('</form>', $this->allowed_html));
    221     }
     212//    function display_tablenav($which): void
     213//    {
     214//        echo(wp_kses('<form action="" method="GET">', $this->allowed_html));
     215//        if ('top' === $which) {
     216//            echo('<form>');
     217//            echo wp_kses('<form">', $this->allowed_html);
     218//            $this->search_box(__('Search'), 'search-box-id');
     219//            echo('<div>qwe</div>');
     220//            echo('</form>');
     221//        }
     222//        parent::display_tablenav($which);
     223//        echo(wp_kses('<input type="hidden" name="page" value="' . esc_attr($_REQUEST['page']) . '"/>', $this->allowed_html));
     224//
     225//        echo(wp_kses('</form>', $this->allowed_html));
     226//    }
    222227
    223228    private function get_saved_map_data_by_bol_slug($bol_cat_slug)
  • shop-2-api/trunk/readme.txt

    r3017057 r3024034  
    1661663) Remove Ean number on main product
    1671674) Fix issue on empty EAN Number
     1685) Fix issue on category search
    168169
    169170
  • shop-2-api/trunk/shop-2-api.php

    r3017057 r3024034  
    55Plugin URI: https://wordpress.org/plugins/shop-2-api/
    66Description: The plugin Shop2Api will sync products between e-Commerce platforms. The current supported e-Commerce platforms are WooCommerce to Bol.com, and we are working on Amazon, Shopify and others.  We added a koopblok service so that you can check if you lower your price can you get koopblok.
    7 Version: 1.0.29.4
     7Version: 1.0.29.5
    88Requires at least: 5.0
    99Requires PHP:      7.2
     
    3434define('SHOP2API_PLUGIN_URL', plugin_dir_url( __FILE__ ));
    3535define('SHOP2API_PLUGIN', plugin_basename( __FILE__ ));
    36 define ('VERSION', '1.0.29.4');
     36define ('VERSION', '1.0.29.5');
    3737
    3838// Register items in the project.
Note: See TracChangeset for help on using the changeset viewer.