I am developing en ecommerce site for a jewellery. They need to calculate product price automatically using a formula. The following is the format of the required formula.
(quantity * gold rate) + making charge + stone rate(if available)
Here gold rate may vary frequently and stone rate is not mandatory.
This will also need to apply for other type of products(silver, diamond etc).
eg for silver the formula will become
(quantity * silver rate) + making charge + stone rate(if available)
Only the final price is need to display in site.
Also I need to set gold rate and silver rate globally, because this will be same for all gold and silver ornaments.
I found some plugins, but not found one with all these requirements.
Can someone please suggest any solution
I'm assuming you have some coding knowledge...
As you're using woocom I would go toward creating a new custom category/taxonomy called "raw material".
From there I would add all the required terms, here for instance gold, silver, diamond...etc. I would then add a custom meta field to each terms called "rate" (*).
Upon creating a new product, you would select what raw materials the item is made of, which would enable you to fetch the custom meta we created called "rate".
Then we could use a bit of JS magic to do the required calculations, and that's it. Not really hard to put in place.
But like #disinfor said, at SOF we don't code, we help and fix problems. If you want to hire someone you can try Fiverr.
(*) Adding custom meta to terms: https://developer.wordpress.org/reference/functions/add_term_meta/
Related
I'm trying to pass in a price into my typeform, and trying to implement a short of a payment flow with Stripe integration. The samples I have seen for this all involve static, hard-coded pricing coming from the Typeform itself; I would like to pass in the price as a hiddenfield parameter and have that be the item that is charged.
However, I am having a lot of trouble seeing examples of how to implement this. Does anyone have any guidance?
I know how to pass in parameters into the form - but how to implement the dynamic pricing based on those parameters seems to be... not possible?
Would love any input. TIA.
Typeform supports natively Stripe payments in their form. It lets you accept payments via credit card easily.
Unfortunately, if you want your price to be dynamic, you can't pass directly it as a parameter of the typeform (called Hidden field).
If your price depends on a calculation, like the number of items, you can use the calculator feature (help center article).
And ask those questions to determine the price to pay.
Here is a simple form to order pizzas at different prices depending on the type.
Here is how it was made on Typeform:
first: Setup a different price per pizza type
second: Update the total price depending on the number entered
Hope it makes sense :)
The plot:
I am working with a Dropshipping company that has an API for providing products, the shipping is calculated this way:
Every product comes with a shipping size ( S,M,L ... ) and for each country this sizes have different fixed prices. I am saving this shipping size in a custom meta.
Example:
France
Size M: 10$
Size L: 15$
Spain
Size M: 15$
Size L: 20$
The problem:
I cannot seem to figure out a way of implementing this into woocommerce. I see that I can setup a flat rate for each country but I cannot implement these different sizes.
If this is not possible with plain Woocommerce, I want to implement something myself with php or I am also open to any official/verified Add-ons.
I figured out this on my own - so apparently I can make a shipping class for each of those sizes ( S, M, L ) and then I can setup Flat Rates by country and shipping class. This was very easy after all, no custom code required.
insert by location rules with multiple locations you can place fees for each location. A different rate can be configured in woocommerce and can also be configured by postal code
You can also use the plugin for handling all this stuff. I figured out this plugin maybe it can help you out. Advanced Flat Rate Shipping Method WooCommerce.
In this plugin you can create your own rules.
I have the following 3 plugins installed and configured:
Gravity Forms
WooCommerce
WooCommerce Gravity Forms Add-On
This combination has already solved many of my problems (variable pricing dependent on user input via multiple options), but there is one issue that I can't seem to directly overcome, and that's providing a customer with a different set of Downloadable files dependent on their customized input.
It seems that the purpose of the Gravity Forms add-on is to eliminate the requirement of administering variations based on potentially hundreds of combinations of WooCommerce defined attributes, which makes a lot of sense and is a big time saver, but it doesn't seem to address variations that extend beyond price; like Downloadable files.
For instance, given my rough sample below:
Product options, sample (this is a basic variable product, some might be much more complex):
Product Option A
Product Option B
Options Dependent on Product A:
Product-A Option Z
Product-A Option Y
Product-A Option X
Options Dependent on Product B:
Product-B Option Z
Product-B Option Y
Product-B Option X
These combinations all yield a different price, which Gravity Forms can cover, but these combinations should also provide a customer with a different combination of PDF downloads (ie: Product Option A.pdf + Product-A Option Y.pdf at $XXX.XX, or Product Option B.pdf + Product-B Option Z.pdf at $XX.XX).
Is there a way to pass a hidden var or shortcode from the Gravity Forms user input that can be defined as an attribute to then set the Downloadable file variations in WooCommerce?
I'm really pulling my hair out here because on one hand this could be handled exclusively using WooCommerce, but the number of variations could be in the hundreds, yet Gravity Forms seems not to have the capacity to send WooCommerce a means of defining much else than calculated price :(
Perhaps I am thinking about this the wrong way and should be using another method. If someone can offer a solution of some form, I would very much appreciate it!
T
I have been searching for this all over the internet, but haven't came up with the solution just yet.
On my Drupal 7 installation I've happily used Ubercart for a while now, but I'm going to sell software from now on.
I'd like to use attributes to change the price based on the amount of computers and licence experiation date (years from now).
The prices don't always rise the same way, so I can't set an increase of 10% with every year.
I'd like to fill out a price table and when the user makes his choice, he gets the price right.
This is the website I'm talking about (example product): https://www.xsbyte.com/catalog/73
It seems not possible to do this, you could fill out a new price for a new object, or could just make a new product, but that was not what I was looking for.
I ended up using WooCommerce (Wordpress) and integrated both systems, so customers get features like single-logon and shared customer address and payment details (if applicatable).
My product is a book. Each books will be sold in 3 formats.
1) Print
2) Online
3) Print + Online
All the three prices for each book will be different.
If i add the book as different product. I have to add all the content like Index, Author details etc. 3 times for each book.
Is there any way where i can allow admin to add 3 prices for each product and user can select any one of the price?
Thanks & Regards,
Satya.
Kevin is right, but there is a problem relating to the purely hardcopy version.
You have to attach a "Feature" to the product, which is the digital asset, so that when they buy they get access to the download. I believe this is for the whole product.
So, if you're wrapping them all in one product you can only offer: Online or Online and Print.
But really there is no reason to just get the print version since it doesn't cost you anything to throw in the online version.
No, you do not need to create 3 different products, unless the SKU is different.
You can add Attributes for this product, lets call it 'Format'. You can then add 3 options to that attribute, Print, Online, Print + Online. Then when you edit the product, you can adjust the pricing for those options (ex. Print +$10).
The cost is added to the base price of the product. So, you could make the book $0, and let these options drive the cost. Example Print $35, Online $25, Print and Online $40.
There are a couple of ways you could solve this but this is how I would probably do it.
satya
You can use a default general pattern for all products while building attributes and later for each product you can override it by editing the product.
For each product you can vary the range.
You can actually set the digital portion to be attribute dependent.
Create an attribute called "Format" and give it your three options (Print, Online, Print and Online) with the appropriate price settings for each.
Add this attribute to your product.
You should see an "adjustments" subtab on the edit page for the product now, and here you can adjust the SKU depending on the Format that is selected.
On the Features tab, you can then specify the adjusted SKU's for the digital download (you may need to add the download feature twice, once for each SKU that should have it)