szeeshanali
Forum Replies Created
-
Thank you so much. I am filling in the customization so you can do that. Thank you again.
Hi CodePeople,
Thank you for your answer but I think that I was unable to explain myself properly. I can assign the value to the slider but what I actually need is how to reflect it on the Slider GUI. Lets say slider is currently at $20000 and then user typed in $45000, the slider should scroll to $45000.
Basically, it is a sort of two way binding between an input field and slider whereby change in either one of them is reflected. I had already shown the slider value on the input field, but just can’t seem to reflect it the other way round.
Thank you so much and your help in this regard is highly appreciated.
Forum: Fixing WordPress
In reply to: Using External MediaHi Chris,
Yes this is very much possible. You can MAP your images which are in Google Drive with WordPress Media Library. Please see this URL and i am sure this is what you are looking for.
https://www.wpbeginner.com/plugins/how-to-connect-google-drive-to-your-wordpress-media-library/
If you have any problem, let me know and I will try to answer in detail.
Thank you and Peace.
Hi Thomas,
After seeing the form, I personally think that rather than inserting this form using PHP/JavaScript, it is a lot better to recreate it. WordPress has great form plugins which will allow you to create this form very easily. Some of these plugins are Contact Form 7, Caldera Forms, Ninja Forms, Gravity Forms etc.
You can easily create this form without any technical knowledge on any of these plugins. If you are looking for an exact recommendation, go with Caldera Forms. It is free, very easy to use and has a great support base. This is the easiest way and also the best way for you to get that same form on your WordPress Website.
Thank you and Peace.
- This reply was modified 7 years, 10 months ago by szeeshanali. Reason: Typos
Forum: Plugins
In reply to: [WooCommerce] Custom Fee is not updating GST even when taxable = trueThanks Mike for looking into this. I am reproducing the code below. Thank you:
function woo_add_cart_fee() { global $options; global $woocommerce; $is_insurance = get_option( 'ne_insurance_fee', 1 ); if($is_insurance =="no"){ return; } $percentage = get_option( 'ne_insurance_fee_amount', 1 ); $total_tax = 0; foreach ( $woocommerce->cart->taxes as $key => $tax ) { if ( ! $compound && WC_Tax::is_compound( $key ) ) continue; $total_tax += $tax; } $total_tax = wc_round_tax_total( $total_tax ); $insurance = ($woocommerce->cart->cart_contents_total)*($percentage/100); if($woocommerce->cart->shipping_total>0){ $woocommerce->cart->add_fee( __('Insurance', 'woocommerce'), $insurance, $taxable = true, $tax_class = '' ); } } add_action( 'woocommerce_cart_calculate_fees', 'woo_add_cart_fee' );
Thanks a lot once again mate.
Kind Regards.
Forum: Plugins
In reply to: [WooCommerce] Related products and ReviewsNothing to mention. Cheers ??
Forum: Plugins
In reply to: [WooCommerce] Related products and ReviewsHi Ssabin,
If Mike’s code isn’t working, do either of the three things:
1. In Child-Theme CSS file, try the following code:
.related.products { clear:both!important; }
2. If # 1 doesn’t work, install plugin WP Custom CSS and add the above code in it.
3. If # 1 and # 2 doesn’t work, locate the file woo.css which is located inside wp-content/themes/canvas/css/woo.css and navigate to line # 2220 and you will see the following class:
.related.products { position: relative; padding-top: 17px; margin-bottom: -19px !important; clear:both; //Add this line here }
Just follow along and one of these will definitely work. Although i am sure you will be all ok with the first one. Thank you and Cheers.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Logo not showing@bas, sorry mate i was busy in an event on the weekend. Will test it today and post to you in 24 hours here.
@anthony, just uncheck mPDF and see if the error goes away. Although the error which you have enlisted doesn’t seem specific to this plugin, but i have a personal experience that if you enable mPDF debugging it seems to through a JSON error on Woo checkout in versions 2.4+. Will try to work out a solution in 24 hours. Stay tune mate :-).
Forum: Plugins
In reply to: [Invoices for WooCommerce] Logo not showingDear Bas,
I created a couple of invoices with the same and they were showing the logo but this morning once i checked it again by generating a sample invoice, the logo wasn’t there again.
I think its a bug. I will work on it myself as well and will post if i found it. If you can guide me towards looking at a particular instance of a code, i will be able to debug it a lot quicker.
Thank you mate. ??
Forum: Plugins
In reply to: [Invoices for WooCommerce] Logo not showingLind which version of the plugin are you using? Please update to version 2.4.1 and your problem will be resolved.
Thanks Bas, got it working. ??
Peace mate.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Display shipping method on invoice?@bas Elbers, Nothing to mention mate. My Pleasure ??
Forum: Plugins
In reply to: [Invoices for WooCommerce] Display shipping method on invoice?Hi Bas, great great work mate. Lukascech although there is no shortcode which you can use to show shipping method but with a little bit of improvisation you can show it easily on your PDF Invoice. I just coded it for a client and thought that i can share it here so anybody needing it can benefit from the same.
<?php // Get the Shipping method and store it in a variable $shipping_method = $this->order->get_shipping_method(); // Now Echo it the way you like. echo $shipping_method; // Simple Echo // A bit complex one printf( __( '%sSelected Shipping Method:%s%s', $this->textdomain ), '<b>', '</b>','<br/>' ); echo $shipping_method; ?>
Hope it is of any help. Take lots of care and Peace all. Cheers ??