Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter natashasmith

    (@natashasmith)

    Hi @abwaita

    So if I add the snippet, happy days then the category does not show on the shop page. Works great!

    If I then create a dropdown menu/page for those specific products with a link to that specific category then I get an error that says ‘no products to show’ on that particular page.

    I looked at installing woo commerce product blocks but the reviews are terrible. Any other suggestions?

    Thread Starter natashasmith

    (@natashasmith)

    Hi @abwaita
    Please check the following site

    http://www.testingindigo.co.za on the last page of the shop page. The item Winter throat needs to only be on a page and not shop page.

    Just to clarify should i add the code snippet and then use products by category block to seperate it from my shop?

    Thread Starter natashasmith

    (@natashasmith)

    Hi @plantprogrammer

    I also tried the following code snippet

    /**
     * Exclude products from a particular category on the shop page
     */
    function custom_pre_get_posts_query( $q ) {
    
        $tax_query = (array) $q->get( 'tax_query' );
    
        $tax_query[] = array(
               'taxonomy' => 'product_cat',
               'field' => 'slug',
               'terms' => array( 'clothing' ), // Don't display products in the clothing category on the shop page.
               'operator' => 'NOT IN'
        );
    
        $q->set( 'tax_query', $tax_query );
    
    }
    add_action( 'woocommerce_product_query', 'custom_pre_get_posts_query' );

    Still not working

    Thread Starter natashasmith

    (@natashasmith)

    Thread Starter natashasmith

    (@natashasmith)

    Thanks guys, I ended up using the export and import method by only exporting a few columns which is working great

    Thread Starter natashasmith

    (@natashasmith)

    Hi @abwaita.

    I managed to reach support. This plugin is not going to do what I need it to do. Thanks anyway

    Thread Starter natashasmith

    (@natashasmith)

    @abwaita. So bought the plugin but can’t install it. Pops up with an error. Tried to acces the woocomm support team via woocomm dashboard and it tells me I need to verify my email which I have done and still can’t access the support for it.

    Thread Starter natashasmith

    (@natashasmith)

    Hi @abwaita Thank you so just to confirm this will deduct my total stock value while my variable stock value will also still deduct? Second question is this compatible with the wholesale suit extention?

    Thread Starter natashasmith

    (@natashasmith)

    Thank you

    Thread Starter natashasmith

    (@natashasmith)

    Hi Mirko. @rainfallnixfig

    I don’t have a cache plugin installed.

    Here is the system status report.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://amorganic.co.za
    Site address (URL): https://amorganic.co.za
    WC Version: 3.7.1
    REST API Version: ✔ 1.0.2
    Log Directory Writable: ✔
    WP Version: ❌ 5.6.4 - There is a newer version of WordPress available (5.7.2)
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.20
    PHP Post Max Size: 32 MB
    PHP Time Limit: 90
    PHP Max Input Vars: 2500
    cURL Version: 7.52.1
    OpenSSL/1.0.2u
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.20-MariaDB-1:10.4.20+maria~stretch
    Max Upload Size: 32 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.7.1
    WC Database Prefix: am_
    MaxMind GeoIP Database: ✔
    Total Database Size: 13.84MB
    Database Data Size: 12.11MB
    Database Index Size: 1.73MB
    am_woocommerce_sessions: Data: 0.03MB + Index: 0.02MB + Engine InnoDB
    am_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    am_woocommerce_order_items: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    am_woocommerce_order_itemmeta: Data: 0.16MB + Index: 0.14MB + Engine InnoDB
    am_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    am_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    am_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    am_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_aiowps_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_aiowps_failed_logins: Data: 5.52MB + Index: 0.00MB + Engine InnoDB
    am_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_aiowps_login_activity: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    am_aiowps_login_lockdown: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
    am_aiowps_permanent_block: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_comments: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    am_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_options: Data: 2.20MB + Index: 0.06MB + Engine InnoDB
    am_postmeta: Data: 1.52MB + Index: 0.38MB + Engine InnoDB
    am_posts: Data: 1.52MB + Index: 0.14MB + Engine InnoDB
    am_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    am_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_revslider_slides: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    am_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_usermeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    am_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    am_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    am_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_yith_wcwl_lists: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (21) ###
    
    All In One WP Security: by Tips and Tricks HQ
    Peter Petreski
    Ruhul
    Ivy – 4.4.8
    
    Colibri Interactive Portfolios: by Colibri Interactive – 1.0
    Colibri Interactive Shortcodes: by Colibri Interactive – 1.0
    Colibri Interactive Testimonials: by Colibri Interactive – 1.0
    Classic Editor: by WordPress Contributors – 1.6
    Contact Form 7: by Takayuki Miyoshi – 5.4.1
    Disable New User Notifications: by Thomas Griffin – 2.0.0
    WPBakery Visual Composer: by Michael M - WPBakery.com – 4.12
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    Slider Revolution: by ThemePunch – 5.4.8.3
    Simple Maintenance Mode: by Jeff Bullins – 1.05
    SSL Insecure Content Fixer: by WebAware – 2.7.2
    Widget Importer & Exporter: by ChurchThemes.com – 1.6
    PayGate PaySubs plugin for WooCommerce: by PayGate (Pty) Ltd – 1.0.2 – Not tested with the active version of WooCommerce
    WooCommerce Virtual Card Services Gateway: by WooThemes – 1.1.6 – Not tested with the active version of WooCommerce
    WooCommerce Grid / List toggle: by jameskoster – 1.2.1 – Not tested with the active version of WooCommerce
    WooCommerce Shortcodes: by WooThemes
    Claudio Sanches – 1.0.0 – Not tested with the active version of WooCommerce
    
    WooCommerce: by Automattic – 3.7.1 – 5.4.1 is available
    WordPress Importer: by wordpressdotorg – 0.6.4
    WP Force SSL: by WebFactory Ltd – 1.57
    YITH WooCommerce Wishlist: by YITH – 3.0.20
    
    ### Inactive Plugins (4) ###
    
    Akismet Anti-Spam: by Automattic – 4.1.9
    Hello Dolly: by Matt Mullenweg – 1.7.2
    WooCommerce Helper: by WooCommerce – 1.7.2 – Not tested with the active version of WooCommerce – Network enabled
    WPS Hide Login: by WPServeur
    NicolasKulka
    wpformation – 1.8.5
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: ✔
    Currency: ZAR (R)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    
    ### WC Pages ###
    
    Shop base: #7 - /shop/
    Cart: #249 - /cart/
    Checkout: #9 - /checkout/
    My account: #10 - /my-account/
    Terms and conditions: #357 - /terms-conditions/
    
    ### Theme ###
    
    Name: Organic Web Shop Child
    Version: 1.0
    Author URL: http://colibri-interactive.com
    Child Theme: ✔
    Parent Theme Name: Organic Web Shop
    Parent Theme Version: 3.2
    Parent Theme Author URL: http://www.colibri-interactive.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: organicwebshop/woocommerce/archive-product.php
    organicwebshop/woocommerce/cart/cross-sells.php
    organicwebshop/woocommerce/cart/mini-cart.php
    organicwebshop/woocommerce/content-product.php
    organicwebshop/woocommerce/content-product_cat.php
    organicwebshop/woocommerce/content-single-product.php
    organicwebshop/woocommerce/content-widget-product.php
    organicwebshop/woocommerce/loop/add-to-cart.php
    organicwebshop/woocommerce/loop/sale-flash.php
    organicwebshop/woocommerce/single-product/add-to-cart/simple.php
    organicwebshop/woocommerce/single-product/add-to-cart/variable.php
    organicwebshop/woocommerce/single-product/meta.php
    organicwebshop/woocommerce/single-product/price.php
    organicwebshop/woocommerce/single-product/product-image.php
    organicwebshop/woocommerce/single-product/rating.php
    organicwebshop/woocommerce/single-product/related.php
    organicwebshop/woocommerce/single-product/review.php
    organicwebshop/woocommerce/single-product/short-description.php
    organicwebshop/woocommerce/single-product/tabs/additional-information.php
    organicwebshop/woocommerce/single-product/tabs/description.php
    organicwebshop/woocommerce/single-product/title.php
    organicwebshop/woocommerce/single-product/up-sells.php
    organicwebshop/woocommerce/single-product-reviews.php
    organicwebshop/woocommerce/single-product.php
    
    ### Action Scheduler ###
    
    Complete: 2
    Oldest: 2021-06-21 14:23:04 +0000
    Newest: 2021-07-06 10:08:14 +0000
    
    Pending: 0
    Oldest: –
    Newest: –
    
    Canceled: 0
    Oldest: –
    Newest: –
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 0
    Oldest: –
    Newest: –
    
    
    • This reply was modified 4 years, 9 months ago by natashasmith.
    • This reply was modified 4 years, 9 months ago by natashasmith.
Viewing 10 replies - 1 through 10 (of 10 total)