My problem is that if i want to change the vehicle price, i become a failure message what says that i am not allowed to change the regular price. I am always logged in as administrator.
Can you help me?
Thanks
]]>I’ve been testing this plugin and I was wondering if there’s a way to make the product price change on the fly when selecting different options?
I don’t need to show a table with prices, I just need to show the updated price on the product page when a user selects an option.
Is there a way to achieve this?
Thank you
]]>In very rare situation, I(admin) need to adjust the price manually for customers.
When customer add product in cart, click “proceed to checkout”(from cart to checkout page) and then cleck “place order”, there is no order record in backend. I can’t adjust the price.
I know that some plugins, such as cart-pricing-for-woocommerce, can set price rule for users, products…
Or let user set the price, such as name-your-price, But I need to set the price manually by admin
Any other plugin or method before checkout page or transfer to payment gateway, just like taobao.com, I(admin) can adjust the price manually?
Thank you.
]]>from 07-01 until the end of the year, tax rates have been reduced by 2 percent in my country. Contrary to my assumption, the rate has not been updated with updating the plugins, and now 5 month later, i noticed the issue. Quite a few Order-Positions need to be recalculated now, with the order total needing to be the same but the tax rate needing to be reduced by 2 percent.
To solve the problem, I tried to simply edit the SQL order total tax, wich did not work, because before sending the E-Mail to the Customer, the order total is beeing recalculated from the order-positions data from wp_postmeta table. And even if that worked, the data positions data would not be correct, of course.
Does anyone have an idea on how i could write a Script, that does this Task for me?
Thank you very much!
]]>from 07-01 until the end of the year, tax rates have been reduced by 2 percent in my country. Contrary to my assumption, the rate has not been updated with updating the plugins, and now 5 month later, i noticed the issue. Quite a few Order-Positions need to be recalculated now, with the order total needing to be the same but the tax rate needing to be reduced by 2 percent.
To solve the problem, I tried to simply edit the SQL order total tax, wich did not work, because before sending the E-Mail to the Customer, the order total is beeing recalculated from the order-positions data from wp_postmeta table. And even if that worked, the data positions data would not be correct, of course.
Does anyone have an idea on how i could write a Script, that does this Task for me?
Thank you very much!
]]>On the product description of the apples, for example, is written 1Kg but maybe one time is 989gr and another 991gr. (For the payment i use authorize/capture strategy)
In Italy we have tax(4, 5, 10, 20%) on products, so for example on the apple i have 10% of tax included on this product.
On the admin order page, editing item products, i have something like that:
ITEM NAME | COST | TOTAL | TAX |
Apple | 10 | 9 | 1 |
From here i can edit the total amount or tax amount but the “real customer cost amount” only recalculating the price.
But for us is really more easy to edit the cost and recalculate the new total and new tax amount because we have only this information.
Is there some solution?
Thanks,
g.
This is the function:
add_filter('woocommerce_get_price', 'return_custom_price', 10, 2);
add_filter( 'woocommerce_product_get_price', 'return_custom_price', 10, 2 );
add_filter( 'woocommerce_product_variation_get_price', 'return_custom_price', 10, 2 );
add_filter( 'woocommerce_product_get_regular_price', 'return_custom_price', 10, 2 );
add_filter( 'woocommerce_product_get_sale_price', 'return_custom_price', 10, 2 );
function return_custom_price($price, $product) {
global $post, $blog_id;
$post_id = $value['product_id'];
$price = get_post_meta($post->ID, '_regular_price', true);
$ssivata = 7.93;
$tax = 122/100;
$shipping = 6.5;
//calcola prezzo di fabbrica
$price = $price - $ssivata;
$price = $price / $tax;
//calcolo del prezzo
$price = $price + $shipping;
$price = $price*$tax;
return $price;
}
]]>I know I should write it to the Jigoshop authors, but you know best what plugin can do.
I need to set the price levels for users.
E.g. Unregistered users will see price category 1 (current price), but registered users will see price category 2 (discounted price).
Jigoshop does not have such a feature, but it is possible to buy an extension that will allow it, but it is outside my price category.
I found one free plugin at www.ads-software.com, but it serves as an extension for WooCommerce only.
Would this be possible, please, do this with your plugin?
Thank you
PS. I would not ask you if it was not necessary.
]]>I would like to change the price display to say “per month” but only if it is in one of several categories.
The function and filter to change the price seems easy enough, I just cant figure out how to adapt it so it only applies to products of certain categories
Can anybody help? Please don’t recommend plugins.
function mmi_change_product_price_display( $price ) {
$price .= ' per month';
return $price;
}
add_filter( 'woocommerce_get_price_html', 'mmi_change_product_price_display' );
add_filter( 'woocommerce_cart_item_price', 'mmi_change_product_price_display' );
I tried just wrapping it like this:
function mmi_change_product_price_display( $price ) {
if ( is_product() && has_term( 'oboe-rentals', 'product_cat' ) ) {
$price .= ' per month';
return $price;
}
}
add_filter( 'woocommerce_get_price_html', 'mmi_change_product_price_display' );
add_filter( 'woocommerce_cart_item_price', 'mmi_change_product_price_display' );
But it didnt work, presumably because my php skills are deficient.
]]>