Custom price calculation in Woocommerce product page - woocommerce

I want to do a simple calculation based-on the price of each product and show it on Woocommerce product page. I need to add a code as snippet or directly in the product page template. But I am not a programmer.
How can I get the products price and do a very simple calculation like divide by 12 + 200 and then show it under the price as a finance option.
The new price is just an information and no need to have the option to be added the cart. I want to make it simple.
Your help is much appreciated.

Related

How to display the total summed price in WooCommerce for grouped products?

I am building my own custom theme and am working with WooCommerce. I have grouped products and want to display the total price on the product page when the user enters the quantities for each linked product. So every time the user changes the quantities on the linked products, the total price should update as well.
I have googled a lot and tried different codes but nothing has worked yet. Can someone help me with this?

Is there a simple funtion to atomatically reduce stock levels when product is added to cart? - Woo

I need a solution that reduces the stock level and hide the product from others directly when the product is added to the cart. I have set stock amount to 1 and only allow one purchase of each product.
I´ve tried plugins like WooCommerce Cart Stock Reducer, it does the trick but doesnt hide the product instead it gives me a message that its out of stock.
Help anyone?
From the left side panel in your admin, go to WooCommerce->Settings->Products->Inventory
then check the Hide out of stock items from the catalog option.
You should be good.

Adding compared at price in woocommerce

First things first. I'm a newbie to woocommerce and web dev.
How can I add a sale price and a compare at price on products in woocommerce stores, like the option available on Shopify??
Eg: If the product sale price is $10 and the actual price is 20, I want to add the $10 as the sale/discounted price and add the $20 as the compared at/actual price on which discount is given.
Shopify has an option to add this price during product creation but couldn't find anything to do that in Woocommerce. Please help.
I have created a demo of woocommerce using storefront theme. You can set the sale price as shown in the snap below.
backend_snap
It will be displayed in front-end as shown below.
frontend_snap
Hope it works for you.

Woocommerce Single Product Price Slider

Good day. I need to make price slider for single product page like this one:
http://bulka.ua/product/kofe-paketirovannyj/kofe-3-v-1-original-banka-maccoffee-160-20g-kofe-3-v-1-original-banka-maccoffee-160-20g, so than i change it, it changes the price.
How can I implement this?
Thanks in advance!

woocommerce add extra product product page

I'm pretty new to woocommerce so if i'm asking something stupid....please forgive me.
At the moment I'm building a webhop. The product are toys. Some toys also have a manual which can be purchased seperatly.
On the single-product-page I can see my product and I can add it to my cart. But this is only the product itself without the manual for that product. On the same single-product-page I want that vistors can add the manual for the product to the cart also.
I played with variables, grouped etc, but it's not the same as what I want.
Can this be done easily?
Regards,
Roland

Resources