mrshafaq
Forum Replies Created
-
just need to know where is calculation function price*qty = total
Thankyou for consideration one thing more i came to know !
there must be partial payment option.
like if i generate invoice of 300$ some time customers want to pay 100 first time and 200$ remaining will be paid in future so there should be something balance / advance amount which can be help how much i took advance or how much customer will have pay in remaining.Well your invoicing system is very strong i want to contributes in development testing process thats why i am already trying to find loop holes.
Forum: Plugins
In reply to: [Germanized for WooCommerce] Translation bug ?I want to change VAT TO GST in this function how do i add filter
public function get_tax_info() { $tax_notice = false; $is_vat_exempt = ( ! empty( WC()->customer ) ? WC()->customer->is_vat_exempt() : false ); if ( $this->hide_shopmarks_due_to_missing_price() ) { return false; } if ( $this->child->is_taxable() || $this->is_differential_taxed() ) { $tax_display_mode = get_option( 'woocommerce_tax_display_shop' ); $tax_rates = WC_Tax::get_rates( $this->child->get_tax_class() ); if ( ! empty( $tax_rates ) ) { $tax_rates = array_values( $tax_rates ); // If is variable or is virtual vat exception dont show exact tax rate if ( $this->is_virtual_vat_exception() || $this->child->is_type( 'variable' ) || $this->child->is_type( 'grouped' ) || get_option( 'woocommerce_gzd_hide_tax_rate_shop' ) === 'yes' ) { $tax_notice = ( $tax_display_mode == 'incl' && ! $is_vat_exempt ? __( 'incl. GST', 'woocommerce-germanized' ) : __( 'excl. GST', 'woocommerce-germanized' ) ); } else { $tax_notice = ( $tax_display_mode == 'incl' && ! $is_vat_exempt ? sprintf( __( 'incl. %s%% GST', 'woocommerce-germanized' ), ( wc_gzd_format_tax_rate_percentage( $tax_rates[0]['rate'] ) ) ) : sprintf( __( 'excl. %s%% GST', 'woocommerce-germanized' ), ( wc_gzd_format_tax_rate_percentage( $tax_rates[0]['rate'] ) ) ) ); } } if ( $this->is_differential_taxed() ) { if ( get_option( 'woocommerce_gzd_differential_taxation_show_notice' ) === 'yes' ) { $tax_notice = wc_gzd_get_differential_taxation_notice_text(); } else { $tax_notice = __( 'incl. GST', 'woocommerce-germanized' ); } } } /** * Filter to adjust the product tax notice. * * This filter allows you to easily change the tax notice on a per product basis. * * @param string $tax_notice The tax notice. * @param WC_GZD_Product $product The product object. * * @since 1.0.0 * */ return apply_filters( 'woocommerce_gzd_product_tax_info', $tax_notice, $this ); }
Forum: Plugins
In reply to: [Germanized for WooCommerce] Translation bug ?Thank God find the solution the code is
add_filter( 'woocommerce_gzd_tax_rate_label', function( $label, $rate_percentage, $type ) { // Adjust $label if ( 'incl' === $type ) { $label = ( get_option( 'woocommerce_tax_total_display' ) == 'itemized' ? sprintf( __( 'incl. %s%% GST', 'woocommerce-germanized' ), wc_gzd_format_tax_rate_percentage( $rate_percentage ) ) : __( 'incl. GST', 'woocommerce-germanized' ) ); } else { $label = ( get_option( 'woocommerce_tax_total_display' ) == 'itemized' ? sprintf( __( '%s%% GST', 'woocommerce-germanized' ), wc_gzd_format_tax_rate_percentage( $rate_percentage ) ) : __( 'GST', 'woocommerce-germanized' ) ); } return $label; }, 10, 3 );
i want to know is there any possibilities to change VAT TO GST OR SALES TAX globally everywhere even if I install Germanized
@shifa13 may be this link will you help you export meta option should be checked. https://docs.woocommerce.com/document/product-csv-importer-exporter/
Hi @shifa13 regarding your question may be this video could help you! https://youtu.be/NsaM9zDretM
or alternatively make sure you check the option while exporting product https://prntscr.com/xq1un7 then you can see meta data for gold price.
thankyou
- This reply was modified 4 years, 1 month ago by mrshafaq. Reason: meta data need to be select while exporting product
Forum: Plugins
In reply to: [WooCommerce Gold Price] Changing the Currency@plusdapper To change your shop currency settings go to: WooCommerce > Settings > General > Currency Options and select your indian rupee currency from the Currency drop down.
Forum: Plugins
In reply to: [WooCommerce Gold Price] Fetching the prices entered (Urgent)just add the piece of code into function php
function msh_woo_price_shortcode_callback() { $html = ''; if( function_exists( 'wc_get_product' ) ){ $product = wc_get_product( ); $html = $product->get_price_html(); } return $html; } add_shortcode( 'woo_price', 'msh_woo_price_shortcode_callback' );
then use short code
[woo_price]
anywhere on your product front end to display product priceForum: Plugins
In reply to: [WooCommerce Gold Price] Fetching the prices entered (Urgent)You want fetch woo product price ?
Forum: Plugins
In reply to: [WP Currency Converter] Error: Currency conversion temporarily not available.As google finance link is expire and not working all these links are completely down
https://www.google.com/finance/converter?a=
https://finance.google.com/finance/converter?a=
https://finance.google.com/bctzjpnsun/converter?a=Solution is replace with this URL IN plugin file
wp-currency-converter.php
line 112
Replace with this URLyou can auto assign package to specific user role by adding the piece of code in /wp-admin/subscription.php
after this line
<?php if(!isset($user_sub['recurring']) || $user_sub['recurring'] != 'yes' ): ?>
add this code under above line you should change author into Broadcaster and package $selected = ‘free’ what ever you have
$user = wp_get_current_user(); if ( in_array( 'author', (array) $user->roles ) ) { //Where the user has the role "author" assigned subscription package of free WPUF_Subscription::init()->packdropdown( $packs, $selected = 'free' ); }
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]