Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter arsoboy

    (@arsoboy)

    @libertie

    issue sorted at my end. i had a plugin named “WooCommerce Product Filter: by Mihajlovic Nenad – 6.1.1” which became my headache… its get normal here after de-activing that plugin.
    i would recommend you to deactive all plugins (except woocommerce) & switch theme to any default wp-theme & check again the issue if it seems resolved then its must be related to any plugin.
    then switch to your current theme & re-activate plugin one by one. hope it will be helpful for you πŸ™‚

    Thread Starter arsoboy

    (@arsoboy)

    
    ### WordPress Environment ###
    
    Home URL: http://brmbeta.fashionvillaz.com
    Site URL: http://brmbeta.fashionvillaz.com
    WC Version: 3.1.1
    Log Directory Writable: βœ”
    WP Version: 4.8
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: βœ”
    WP Cron: βœ”
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: ❌ 5.3.27 - We recommend a minimum PHP version of 5.6. See: How to update your PHP version
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.24.0
    OpenSSL/1.0.0
    
    SUHOSIN Installed: βœ”
    MySQL Version: ❌ 5.5.55 - We recommend a minimum MySQL version of 5.6. See: WordPress requirements
    Max Upload Size: 4 MB
    Default Timezone is UTC: βœ”
    fsockopen/cURL: βœ”
    SoapClient: βœ”
    DOMDocument: βœ”
    GZip: βœ”
    Multibyte String: βœ”
    Remote Post: βœ”
    Remote Get: βœ”
    
    ### Database ###
    
    WC Database Version: 3.1.1
    WC Database Prefix: wp_
    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: βœ”
    
    ### Security ###
    
    Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ❌Error messages should not be shown to visitors.
    
    ### Active Plugins (16) ###
    
    Advanced Access Manager: by Vasyl Martyniuk  – 3.9.2.2
    Advanced Custom Fields PRO: by Elliot Condon – 5.5.9
    All In One WP Security: by Tips and Tricks HQ
    Peter
    Ruhul
    Ivy – 4.2.5
    
    WooCommerce Keenu Gateway: by WooThemes – 1.0
    WooCommerce Nosto Tagging: by Nosto Solutions Ltd – 1.1.1
    WooCommerce Product Filter: by Mihajlovic Nenad – 6.1.1
    Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri
    Inc – 1.8.3
    
    Woocommerce Export Products to XLS: by Spyros Vlachopoulos – 0.5.8
    EasyPay - WooCommerce Gateway: by Team WindelSolutions – 1.0.0
    WooCommerce Order Status Manager: by WooThemes / SkyVerge – 1.6.2 – 1.7.1 is available
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 1.5.39
    WooCommerce PickingPal: by PickingPal – 1.2.9 – 1.3.0 is available
    WooCommerce Product Stocktake: by Colorlabs & Company – 1.1.1
    WooCommerce Shipment Tracking: by WooCommerce – 1.6.3 – 1.6.8 is available
    WooCommerce: by Automattic – 3.1.1
    Yoast SEO Premium: by Team Yoast – 4.0
    
    ### Settings ###
    
    API Enabled: βœ”
    Force SSL: –
    Currency: PKR (Rs.)
    Currency Position: left_space
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 0
    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-3 (rated-3-2)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: #12 - /shop/
    Cart: #13 - /cart/
    Checkout: #14 - /checkout/
    My account: #15 - /my-account/
    
    ### Theme ###
    
    Name: Shop Brumano
    Version: 2.0
    Author URL: http://www.windelsolutions.com
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: βœ”
    
    ### Templates ###
    
    Overrides: shopbrumano/woocommerce/archive-product.php
    shopbrumano/woocommerce/cart/cart-shipping.php
    shopbrumano/woocommerce/cart/cart-totals.php
    shopbrumano/woocommerce/cart/cart.php
    shopbrumano/woocommerce/cart/mini-cart.php
    shopbrumano/woocommerce/cart/proceed-to-checkout-button.php
    shopbrumano/woocommerce/checkout/form-billing.php
    shopbrumano/woocommerce/checkout/form-checkout.php
    shopbrumano/woocommerce/checkout/form-coupon.php
    shopbrumano/woocommerce/checkout/form-pay.php
    shopbrumano/woocommerce/checkout/form-shipping.php
    shopbrumano/woocommerce/checkout/payment.php
    shopbrumano/woocommerce/checkout/review-order.php
    shopbrumano/woocommerce/checkout/terms.php
    shopbrumano/woocommerce/checkout/thankyou.php
    shopbrumano/woocommerce/content-product.php
    shopbrumano/woocommerce/content-single-product.php
    shopbrumano/woocommerce/emails/admin-cancelled-order.php
    shopbrumano/woocommerce/emails/admin-failed-order.php
    shopbrumano/woocommerce/emails/admin-new-order.php
    shopbrumano/woocommerce/emails/customer-completed-order.php
    shopbrumano/woocommerce/emails/customer-invoice.php
    shopbrumano/woocommerce/emails/customer-new-account.php
    shopbrumano/woocommerce/emails/customer-note.php
    shopbrumano/woocommerce/emails/customer-on-hold-order.php
    shopbrumano/woocommerce/emails/customer-processing-order.php
    shopbrumano/woocommerce/emails/customer-refunded-order.php
    shopbrumano/woocommerce/emails/customer-reset-password.php
    shopbrumano/woocommerce/emails/email-addresses.php
    shopbrumano/woocommerce/emails/email-customer-details.php
    shopbrumano/woocommerce/emails/email-footer.php
    shopbrumano/woocommerce/emails/email-header.php
    shopbrumano/woocommerce/emails/email-order-details.php
    shopbrumano/woocommerce/emails/email-order-items.php
    shopbrumano/woocommerce/emails/email-styles.php
    shopbrumano/woocommerce/global/form-login.php
    shopbrumano/woocommerce/global/quantity-input.php
    shopbrumano/woocommerce/global/wrapper-end.php
    shopbrumano/woocommerce/global/wrapper-start.php
    shopbrumano/woocommerce/loop/add-to-cart.php
    shopbrumano/woocommerce/loop/loop-end.php
    shopbrumano/woocommerce/loop/loop-start.php
    shopbrumano/woocommerce/loop/orderby.php
    shopbrumano/woocommerce/loop/pagination.php
    shopbrumano/woocommerce/loop/price.php
    shopbrumano/woocommerce/loop/sale-flash.php
    shopbrumano/woocommerce/myaccount/form-edit-account.php
    shopbrumano/woocommerce/myaccount/form-edit-address.php
    shopbrumano/woocommerce/myaccount/form-login.php
    shopbrumano/woocommerce/myaccount/my-account.php
    shopbrumano/woocommerce/myaccount/my-address.php
    shopbrumano/woocommerce/myaccount/my-orders.php
    shopbrumano/woocommerce/myaccount/navigation.php
    shopbrumano/woocommerce/myaccount/orders.php
    shopbrumano/woocommerce/myaccount/view-order.php
    shopbrumano/woocommerce/notices/error.php
    shopbrumano/woocommerce/notices/notice.php
    shopbrumano/woocommerce/notices/success.php
    shopbrumano/woocommerce/order/order-details-customer.php
    shopbrumano/woocommerce/order/order-details-item.php
    shopbrumano/woocommerce/order/order-details.php
    shopbrumano/woocommerce/single-product/add-to-cart/variable.php
    shopbrumano/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    shopbrumano/woocommerce/single-product/add-to-cart/variation.php
    shopbrumano/woocommerce/single-product/price.php
    shopbrumano/woocommerce/single-product/product-image.php
    shopbrumano/woocommerce/single-product/product-thumbnails.php
    shopbrumano/woocommerce/single-product/related.php
    shopbrumano/woocommerce/single-product/sale-flash.php
    shopbrumano/woocommerce/single-product/short-description.php
    shopbrumano/woocommerce/single-product.php
    
    
    Thread Starter arsoboy

    (@arsoboy)

    after reading single-product.js in wooocommerce assets folder got solution.

    1. clear the .woocommerce-product-gallery.images from DOM
    2. replaced it with ajax response.
    3. run this function.

    $( '.woocommerce-product-gallery.images' ).each( function(e) {
        $( this ).wc_product_gallery();
    } );

    & its works like a charm!

    • This reply was modified 8 years, 11 months ago by arsoboy.
    Thread Starter arsoboy

    (@arsoboy)

    Hi #Mike could you give me a hint or any help regarding this plz?

    Appreciate πŸ™‚
    thanks

    Hi oscargare,
    yeah i marked “Hide out of stock products from catalog” & its showing “nothing” in meta_value field, in the result of above query!

    Here is a screenshot.
    https://www.dropbox.com/s/fy8nc5c5izf6oop/pbc-screenshot2.jpg?dl=0
    thanks

    Hello oscargare

    yeah your guess was right prices aren’t set for rest of the world, any hint further?
    i’d ran your query with multiple products & found same as in screenshot.

    screenshot of query is given below.
    https://www.dropbox.com/s/ybtkpy7ynufg3nb/pbc-screenshot.jpg?dl=0

    thanks

    Hi oscargare,

    i’ve fixed it myself… here is my solutions but i guess its not permanent but its working fine on product list & details pages.

    added in function.php

    
    add_filter( 'woocommerce_get_price_html', 'wstheme_country_based_prices' );
    function wstheme_country_based_prices(){
    	global $product;
    	if( is_plugin_active( 'woocommerce-product-price-based-on-countries/woocommerce-product-price-based-on-countries.php' ) && $product->product_type=='variable' ){
    		
    		$prices = $product->get_variation_prices();
    		$min_price = current( $prices['price'] );
    		$max_price = end( $prices['price'] );
    		$price     = $min_price !== $max_price ? sprintf( _x( '%1$s–%2$s', 'Price range: from-to', 'woocommerce' ), wc_price( $min_price ), wc_price( $max_price ) ) : wc_price( $min_price );
    		$is_free   = $min_price == 0 && $max_price == 0;
    		
    		if ( $product->is_on_sale() ) {
    			$min_regular_price = current( $prices['regular_price'] );
    			$max_regular_price = end( $prices['regular_price'] );
    			$regular_price     = $min_regular_price !== $max_regular_price ? sprintf( _x( '%1$s–%2$s', 'Price range: from-to', 'woocommerce' ), wc_price( $min_regular_price ), wc_price( $max_regular_price ) ) : wc_price( $min_regular_price );
    			$price             = apply_filters( 'woocommerce_variable_sale_price_html', $product->get_price_html_from_to( $regular_price, $price ) . $product->get_price_suffix(), $product );
    		} elseif ( $is_free ) {
    			$price = apply_filters( 'woocommerce_variable_free_price_html', __( 'Free!', 'woocommerce' ), $product );
    		} else {
    			$price = apply_filters( 'woocommerce_variable_price_html', $price . $product->get_price_suffix(), $product );
    		}
    	}
    	
    	return $price;
    }
    

    i couldn’t explore your whole plugin but i hope it might help you to find out the problem.

    thanks bro!

    Hello oscargare… thanks for your reply…
    i updated my product(s) as well…. but no luck yet!

    i’ve also enabled wp_debug mode as well….. found no eror/warning…

    • This reply was modified 9 years, 3 months ago by arsoboy.

    Same issue.
    i am using you latest version – 1.6.4 & have the same issue as #Ragubathi explained above.
    any hint how could we resolve it…..i guess there might be some problem in filter..

    woocommerce_get_price_html
    i checked this filter as well & its returning empty string when we changed country other than default country.

    thanks

    Thread Starter arsoboy

    (@arsoboy)

    Ok i looked up my error logs & found glitch & fixed it myself πŸ™‚

Viewing 11 replies - 1 through 11 (of 11 total)