silenx
Forum Replies Created
-
Forum: Plugins
In reply to: [Download Manager] Remove generator meta tagI’m interested too
no, it’s good as you done, my patch was a speedy fix without check all the plugin code. ??
It works with the update, so it’s good.
Have you also updated the pot catalog?PS: another thing to correct is on plugindir/shortcode/rr-show.php
line 58,59,60,61
must be'rDay' => date_i18n("j", $date), 'rMonth' => date_i18n("F", $date), 'rWday' => date_i18n("l", $date), 'rYear' => date_i18n("Y", $date),
if you want date in your language in the review page/post
Hi patrick, can u send me the correct catalog that you build?
Forum: Plugins
In reply to: [Woocommerce Product Options Plugin, Custom Product Addons] Variationschanged plugin.
Forum: Plugins
In reply to: [Woo Shopping Hours] Localizationresolved
Forum: Plugins
In reply to: [Woo Shopping Hours] LocalizationResolved:
1) change your locale file to woo-shopping-xx_XX.po and create .mo
2) translation file are in language directory.
so i modified in
load_plugin_textdomain( ‘woo-shopping’, false, dirname( plugin_basename( __FILE__ ) ) . ‘/language’ );
( originally was languages )Forum: Plugins
In reply to: [WooCommerce] commentstatus meta boxes to productThank you Claudio
Forum: Plugins
In reply to: [WooCommerce] WC 2.6: Keep local pickup with free shipping snippetThank you, is working. ( in my case is 5 the istance id ).
Forum: Plugins
In reply to: [WooCommerce] WC 2.6: Keep local pickup with free shipping snippetIs working but not as expeted:
example: i have the free shipping at 50$, flat rate and local pickup.
With the code snippet under 50$ i only have local pickup, and flat rate is hide.
If order is over 50$ is working as expeted, showing free ship and local pickup.Forum: Plugins
In reply to: [SlimStat Analytics] Can't move menu position to Admin barsame here, not with all website
Forum: Plugins
In reply to: [Custom Login] wp 4.5 issueThank you.
Resolved
Ok thank you, i resolved with this:
/** * woocommerce_package_rates is a 2.1+ hook */ add_filter( 'woocommerce_package_rates', 'hide_shipping_when_free_is_available', 10, 2 ); /** * Hide shipping rates when free shipping is available * * @param array $rates Array of rates found for the package * @param array $package The package array/object being shipped * @return array of modified rates */ function hide_shipping_when_free_is_available( $rates, $package ) { // Only modify rates if free_shipping is present if ( isset( $rates['free_shipping'] ) ) { unset( $rates['local_delivery'] ); } return $rates; }
I use the code from https://docs.woothemes.com/document/hide-other-shipping-methods-when-free-shipping-is-available/
so i have to paste this snippet?
/** * woocommerce_package_rates is a 2.1+ hook */ add_filter( 'woocommerce_package_rates', 'hide_shipping_when_free_is_available', 10, 2 ); /** * Hide shipping rates when free shipping is available * * @param array $rates Array of rates found for the package * @param array $package The package array/object being shipped * @return array of modified rates */ function hide_shipping_when_free_is_available( $rates, $package ) { // Only modify rates if free_shipping is present if ( isset( $rates['free_shipping'] ) ) { // To unset a single rate/method, do the following. This example unsets flat_rate shipping unset( $rates['local_pickup'] ); } return $rates; }