deb
Forum Replies Created
-
Forum: Plugins
In reply to: [Download Monitor] Download Count is not working with 4.6.4Hi Razvan
I am still using the older version 4.5.99, with this version it is working.
https://www.foodfrontier.org/resource/export-market-profiles/this is a link where we were using the download link.
Thank you
Forum: Plugins
In reply to: [Facebook for WooCommerce] Product Updating very slowHi
Thank you for the link, I have sent a request. Lets see with the outcome and I will update here as well.Thanks
Forum: Plugins
In reply to: [WP-SCSS] New version 1.2.5 not compiling properlyThe simple solution is to add:
define('WP_SCSS_ALWAYS_RECOMPILE', true);
on you wp-config.php file.It will solve the issue.
Forum: Plugins
In reply to: [WP-SCSS] New version 1.2.5 not compiling properlySame issue like (@neilparnold), downgraded works fine. It only compiles the main style.scss file but to compile other scss, you need to save style.scss file. Hope the plugin author will go through it and will solve the issue.
Thanks for the great plugin.
Forum: Plugins
In reply to: [Contact Form 7] The date field does not work with SafariTo solve the issue, we need to use jquery date picker.
First Step:
Add this to functions.phpfunction custom_enqueue_datepicker() { // Load the default wp datepicker script. wp_enqueue_script( 'jquery-ui-datepicker' ); // add jquery ui css wp_register_style( 'jquery-ui', 'https://code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css' ); wp_enqueue_style( 'jquery-ui' ); } add_action( 'wp_enqueue_scripts', 'custom_enqueue_datepicker' );
Now on your custom script:
<script> jQuery(document).ready(function($) { $("#yourID").datepicker(); //instead of ID, you can use class as well }); </script>
- This reply was modified 6 years ago by deb.
Forum: Plugins
In reply to: [WC Variations Radio Buttons] Price below radio buttonuse this in functions.php to get the price:
//Add prices to variations add_filter( 'woocommerce_variation_option_name', 'display_price_in_variation_option_name' ); function display_price_in_variation_option_name( $term ) { global $wpdb, $product; $result = $wpdb->get_col( "SELECT slug FROM {$wpdb->prefix}terms WHERE name = '$term'" ); $term_slug = ( !empty( $result ) ) ? $result[0] : $term; $query = "SELECT postmeta.post_id AS product_id FROM {$wpdb->prefix}postmeta AS postmeta LEFT JOIN {$wpdb->prefix}posts AS products ON ( products.ID = postmeta.post_id ) WHERE postmeta.meta_key LIKE 'attribute_%' AND postmeta.meta_value = '$term_slug' AND products.post_parent = $product->id"; $variation_id = $wpdb->get_col( $query ); $parent = wp_get_post_parent_id( $variation_id[0] ); if ( $parent > 0 ) { $_product = new WC_Product_Variation( $variation_id[0] ); //this is where you can actually customize how the price is displayed return $term . ' (' . woocommerce_price( $_product->get_price() ) . ')'; } return $term; }
I did use “Require admin review” and it solved the problem. This plugin provides really great stuff to be used as free.
Thank You
Hello
I am using wooCommerce 3.3.5 and WP: 4.9.5.
I’ve got the same notification: Fastway: No such api key: b5056fe957ea82692b615808cfd881bcI have added on shipping zone but I can not select the franchise, its blank and also I have tried to place an order from frontend and it says “There are no shipping methods available. Please ensure that your address has been entered correctly, or contact us if you need any help.”
I’ve put all address details also.
Can you help?
Forum: Plugins
In reply to: [Yoast Duplicate Post] WooCommerce Product Variation data is not duplicatedThe problem is WooCommerce default duplicate does not copy other fields, like custom taxonomy terms and custom fields, this plugin copies all which is cool but it does not copy the WooCommerce Variations.
What would be the solution then?
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Display errorThank you Ewout, it worked after installing fonts.
Forum: Plugins
In reply to: [Intuitive Custom Post Order] Works then failsSame problem after update
Forum: Fixing WordPress
In reply to: Sorry, this file type is not permitted for security reasonsOn wp-config.php
define(‘ALLOW_UNFILTERED_UPLOADS’, true);
Try this
Forum: Plugins
In reply to: [Cf7 UI slider] Add (+) at the end of numberI was able to do it by tweaking the plugin which is bad practise, is there any way that I could add + at the end price ?
Thanks
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Custom Fieldor is there any way to show ACF field into woocommerce>pdf>custom>invoice.php ?
Forum: Plugins
In reply to: please select some product options before adding this product to your cartjQuery(document).ready(function($){ $('.single_add_to_cart_button').click(function(e){ if ($('#pa_size').val() === "") { e.preventDefault(); alert("Size should be selected, please select one"); return false; } }); });
check you need #pa_size or #pa_color, check the id first.