FilipeOS
Forum Replies Created
-
Forum: Plugins
In reply to: [Maintenance] Allowed Role UserCan you please provide me a function that allow administrator and shop-manager too?
Thank you!
Forum: Plugins
In reply to: [User Role Editor] Multisite Syncthanks
Forum: Plugins
In reply to: [Maintenance] Allowed Role UserHi,
You did not understand, I want that settings are available to admin AND shop-manager role, settings
Forum: Fixing WordPress
In reply to: Removing Do Not Track for oembedsHi,
I got:
[25-Apr-2020 12:23:52 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function dl_oembed(), 1 passed in /home4/choseni1/public_html/XXX/wp-includes/class-wp-hook.php on line 289 and exactly 3 expected in /home4/choseni1/public_html/XXX/wp-content/themes/powerlift-child/functions.php:151 Stack trace: #0 /home4/choseni1/public_html/XXX/wp-includes/class-wp-hook.php(289): dl_oembed('https://vimeo.c...') #1 /home4/choseni1/public_html/XXX/wp-includes/plugin.php(206): WP_Hook->apply_filters('https://vimeo.c...', Array) #2 /home4/choseni1/public_html/XXX/wp-includes/class-wp-oembed.php(536): apply_filters('oembed_fetch_ur...', 'https://vimeo.c...', 'https://vimeo.c...', Array) #3 /home4/choseni1/public_html/XXX/wp-includes/class-wp-oembed.php(355): WP_oEmbed->fetch('https://vimeo.c...', 'https://vimeo.c...', Array) #4 /home4/choseni1/public_html/XXX/wp-includes/class-wp-oembed.php(400): WP_oEmbed->get_data('https://vimeo.c...', Array) #5 /home4/choseni1/public_html/ in /home4/choseni1/public_html/XXX/wp-content/themes/powerlift-child/functions.php on line 151
for the code:
function dl_oembed ( $provider, $url, $args ) { if ( strpos( $provider, 'vimeo.com' ) !== false) $provider = remove_query_arg( 'dnt', $provider ); return $provider; } add_filter( 'oembed_fetch_url', 'dl_oembed' );
Forum: Plugins
In reply to: [WooCommerce] Variable Options don’t showI’m using a plugin to open/close the shop (schedule) and many products are able to continue selling and others don’t, I don’t know the issue at all but at least it’s selling when it’s open… Lol
Forum: Plugins
In reply to: [WooCommerce] Variable Options don’t showthank you
Forum: Plugins
In reply to: [WooCommerce] Variable Options don’t showHi there,
For some very strange thing, it’s working, maybe it was on cache and after I do all that cleaning it started to work. thank you!
Forum: Plugins
In reply to: [Price Based on Country for WooCommerce] Bulk Add PriceResolved, searched an existing product by ID and found both options! Worked like a charm
+1
+1
It can show the image, color and background but the whole content is showing HTML tags so I guess it’s your plugin issue.
Forum: Plugins
In reply to: [Stock Manager for WooCommerce] Solution for missing variations during exportHi @sebaxtian i have the same issue… Do I still need your code to fix it or no?
- This reply was modified 5 years, 11 months ago by FilipeOS.
Forum: Plugins
In reply to: [MSRP (RRP) Pricing for WooCommerce] Get MSRP PriceHi there,
Yes your other comment helped. Will it still work after this change you did?
@elisam84 I have this:
.tawcvs-swatches .swatch-label.out-of { pointer-events: none !important; cursor: none; background: #999; }
and
var $ = jQuery; $( ".variations_form" ).on( "woocommerce_update_variation_values", function () { var $swatches = $('.tawcvs-swatches'); $swatches.find('.swatch').removeClass('hidden'); $swatches.each(function(){ var $select = $(this).prev().find('select'); $(this).find('.swatch').each(function(){ if (($select.find('option[value="'+ $(this).attr('data-value') +'"]').length <= 0)) { $(this).addClass('out-of'); } }); }); });
And my attribute type is
Label