Condless
Forum Replies Created
-
Forum: Plugins
In reply to: [Cities Shipping Zones for WooCommerce] Karachi is absent in Sindh, PakistanSome of the states/cities of Pakistan are splitted into smaller municipalities, this code will display those areas with their familiar names.
If the plugin will be updated regarding this issue you will be notified.
Forum: Plugins
In reply to: [Cities Shipping Zones for WooCommerce] Karachi is absent in Sindh, PakistanHi,
You can add this into your theme’s functions.php file:add_filter( 'csz_cities', 'csz_remove_woocommerce_states' ); function csz_remove_woocommerce_states( $states ) { if ( isset( $states['PK']['PKSN49'] ) ) { for ( $i = 36; $i <= 66; $i++ ) { unset( $states['PK'][ 'PKSN' . $i ] ); } $states['PK']['PKSN49'] = 'KARACHI'; for ( $i = 1; $i <= 94; $i++ ) { unset( $states['PK'][ 'PKPJ' . $i ] ); } $states['PK']['PKPJ1'] = 'RAWALPINDI'; $states['PK']['PKPJ2'] = 'SARGODHA'; $states['PK']['PKPJ3'] = 'FAISALABAD'; $states['PK']['PKPJ4'] = 'GUJRANWALA'; $states['PK']['PKPJ5'] = 'LAHORE'; } return $states; }Forum: Plugins
In reply to: [Cities Shipping Zones for WooCommerce] Customer’s City1. Please redownload the plugin and add this into your theme’s functions.php file:
add_filter( 'csz_customer_default_location_city_disabled', '__return_false' );Forum: Plugins
In reply to: [Cities Shipping Zones for WooCommerce] Customer’s City1. In addition, create shipping zone for the whole country (choose ‘Israel’ in the Zone regions field), drag this shipping zone to the bottom of the shipping zone list.
Forum: Plugins
In reply to: [Cities Shipping Zones for WooCommerce] Customer’s City1. Enable the ‘Enable the shipping calculator on the cart page.’ option (Dashboard => WooCommerce => Shipping => Shipping Options => Calculations).
Make sure the country of the store is configured and set default customer location as the shop country (Dashboard => WooCommerce => Settings => General).3. see instructions and screenshot of how to add local pickup method to shipping zone:
https://woocommerce.com/document/setting-up-shipping-zones/#section-6Forum: Plugins
In reply to: [Cities Shipping Zones for WooCommerce] Customer’s City1. Disable the ‘Hide shipping costs until an address is entered’ option (Dashboard => WooCommerce => Shipping => Shipping Options => Calculations).
2. Keep empty the ‘Enable for shipping methods’ option (Dashboard => WooCommerce => Payment => Cash on Delivery).
3. Add local pickup methods to all of your shipping zones (Dashboard => WooCommerce => Shipping => Edit shipping zone).
Forum: Plugins
In reply to: [Cities Shipping Zones for WooCommerce] Customer’s CityWhat is the URL of the website?
Forum: Plugins
In reply to: [Cities Shipping Zones for WooCommerce] Customer’s CityHi Mira,
Please make sure to enable the billing_country and shipping_country fields using the Checkout Field Editor.Forum: Plugins
In reply to: [User Posts Limit] Network-wide rules don’t seem to be appliedHi,
For Step #1 (changing the Posts Limit Exceeded error for multisite) update to the latest plugin version and use this PHP snippet:add_filter( 'upl_network_message', 'upl_set_network_message' ); function upl_set_network_message( $message ) { return 'Total post limit reached for this site: {count}'; }Forum: Plugins
In reply to: [Unit Price for WooCommerce] Wrong totals under the add to cart btnHi Joe,
In variable product the settings should be configured for each variation seperately (“in the general tab of each variable tab”).Forum: Plugins
In reply to: [Unit Price for WooCommerce] Wrong totals under the add to cart btnHi,
1. Sells per piece and price per pound (fried chicken, salmon):
Set the price of 1 unit of Chicken in the price field (General tab)
Set the weight of 1 unit of Chicken in the weight field (Shipping tab)
Select ‘Weight’ in the ‘Quantity Units’ option (Unit Price tab)2. Sells by weight (corn beef):
Set the price of 1 lb of beef in the price field (General tab)
Set the weight of 1 lb of beef in the weight field (Shipping tab)
Set the quantity step as 0.5 or 0.1 and lb in quantity suffix (Unit Price tab)Forum: Plugins
In reply to: [User Posts Limit] Network-wide rules don’t seem to be appliedHi,
Make sure to use in the snippetupl_network_queryand notupl_query.
Change the posts limit to 0 and try again to create post (so you will be able to see the posts count in the posts limit exceeded error).Forum: Plugins
In reply to: [Unit Price for WooCommerce] Error on order sulmlmaryHi,
Please try to change the line to:
if ( ! wp_doing_ajax() && wc_get_order( $post ) && wc_get_order( $post )->get_meta( '_has_unit_items' ) ) {Forum: Plugins
In reply to: [User Posts Limit] Network-wide rules don’t seem to be appliedHi,
Please make temporary change in the plugin’s main file:
remove this line:
$message = apply_filters( 'upl_network_message', esc_html__( 'Network Admin' ) . ': ' . esc_html__( 'Posts limit exceeded', 'user-posts-limit' ), $postarr, $i );and add this instead:
$message = 'Posts count: ' . $upl_query->found_posts;Then you will be able to see the posts count in the “Posts limit exceeded” error.
You can also try to apply the rule on ‘page’ instead of ‘post’ (update also the code snippet you have used).
Forum: Plugins
In reply to: [User Posts Limit] Network-wide rules don’t seem to be appliedIt may require deeper inspection which is out of scope for this support forum, please contact us by Email.