VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: vladsklyar on July 24, 2013, 21:47:57 PM

Title: Input field for the length of the sill buyer
Post by: vladsklyar on July 24, 2013, 21:47:57 PM
Help you can think of: the customer enters the length and virtuemart you divide the price by 100 and multiply by introduced footage

  in reference to the site

Помогите что можно придумать: покупатель вводит  длину а virtuemart тебе , цену делит на 100 и   умножает на введенный метраж

Title: Re: Input field for the length of the sill buyer
Post by: Maxim Pishnyak on July 24, 2013, 22:49:52 PM
Did you try standard VM plugin that allows customer to input value during adding to cart process?

Title: Re: Input field for the length of the sill buyer
Post by: vladsklyar on July 25, 2013, 17:16:06 PM
No, I'm trying to remake the plugin Custom Text Input, insert a formula like something A1/100 * B1
Title: Re: Input field for the length of the sill buyer
Post by: Maxim Pishnyak on July 25, 2013, 22:02:49 PM
Right, that was I was talking about.

Could you make a test product page with this plugin and post here a link?
Title: Re: Input field for the length of the sill buyer
Post by: vladsklyar on July 26, 2013, 21:21:30 PM
length of the field try to change the formula of counting until the deaf
Title: Re: Input field for the length of the sill buyer
Post by: PRO on July 27, 2013, 01:44:45 AM
?
http://extensions.virtuemart.net/products/custom-size-detail
Title: Re: Input field for the length of the sill buyer
Post by: vladsklyar on July 30, 2013, 19:05:47 PM
would be 40 euros would buy you would like to live in Ukraine and receive $ 200 per month and pay for all utility bills $ 100, and the rest on food and clothes barely enough

Thank you for your understanding
Title: Re: Input field for the length of the sill buyer
Post by: Maxim Pishnyak on July 30, 2013, 21:40:02 PM
Quote from: Maxim Pishnyak on July 25, 2013, 22:02:49 PM
Could you make a test product page with this plugin and post here a link?
Title: Re: Input field for the length of the sill buyer
Post by: vladsklyar on July 31, 2013, 13:15:04 PM
YEs
Title: Re: Input field for the length of the sill buyer
Post by: Maxim Pishnyak on July 31, 2013, 15:20:11 PM
You could calculate final price on the cart page. Could it be enough for your current project?
Title: Re: Input field for the length of the sill buyer
Post by: vladsklyar on July 31, 2013, 16:30:38 PM
No, need to make a form to enter the length of the sill, which will be considered for the formula price / 100 * entered length and type is displayed visually as Custom Text Input
Title: Re: Input field for the length of the sill buyer
Post by: Maxim Pishnyak on July 31, 2013, 16:41:25 PM
So, you need to have price calculated on the fly with ajax on the product detail page?
Title: Re: Input field for the length of the sill buyer
Post by: vladsklyar on July 31, 2013, 20:43:03 PM
yes
Title: Re: Input field for the length of the sill buyer
Post by: Maxim Pishnyak on August 01, 2013, 15:05:43 PM
You could look how VM custom fields are working. When customer choose variants in custom fields product price could change on the fly.
Title: Re: Input field for the length of the sill buyer
Post by: vladsklyar on August 01, 2013, 15:40:35 PM
and how to add there a formula price / 100 * entered length
Title: Re: Input field for the length of the sill buyer
Post by: Maxim Pishnyak on August 02, 2013, 11:23:56 AM
Quote from: vladsklyar on July 30, 2013, 19:05:47 PM
would be 40 euros would buy you would like to live in Ukraine and receive $ 200 per month and pay for all utility bills $ 100, and the rest on food and clothes barely enough

Thank you for your understanding
Vladsklyar, here is something that I couldn't understand.

Prices outside Ukraine could be too bigger for you.

BUT

THAT means that you want to do some work yourself. Start programming in VM system.

OR

VM community in Ukraine is very powerful itself. And guys there could make a gift for you. Provide solution for your task for free.

But you're here. On the forum of international VM community.

I think you need to stop at this point and understand what you REALLY want to have
1) fast solution of your problem
2) free solution of your problem
3) slow process of finding solution
5) improving php and js skills
6) more money for budget of your web shop

Choose
Title: Re: Input field for the length of the sill buyer
Post by: vladsklyar on August 02, 2013, 12:26:46 PM
But at least tell me where to dig, and if possible give an idea of ​​how you would have solved my problem, which file to rule
Title: Re: Input field for the length of the sill buyer
Post by: Maxim Pishnyak on August 02, 2013, 14:00:36 PM
Quote from: Maxim Pishnyak on August 01, 2013, 15:05:43 PM
You could look how VM custom fields are working. When customer choose variants in custom fields product price could change on the fly.
Quote from: Maxim Pishnyak on July 25, 2013, 22:02:49 PM
Could you make a test product page with this ... ?
Title: Re: Input field for the length of the sill buyer
Post by: vladsklyar on August 02, 2013, 14:59:44 PM
Link to the exact same, but the price was a symbol for zero, corrected to 1 USD, now holds one character, as I understand it if the rules of this plugin, I need to delete the array, and do int

Title: Re: Input field for the length of the sill buyer
Post by: Maxim Pishnyak on August 02, 2013, 15:33:05 PM
At this place you know what VM plugin was used by you for changing price by 'width' dropdown.
Title: Re: Input field for the length of the sill buyer
Post by: vladsklyar on August 02, 2013, 16:12:53 PM
there are 2 plug-in, a first width and a second length below - what do I need
Title: Re: Input field for the length of the sill buyer
Post by: Maxim Pishnyak on August 02, 2013, 17:44:03 PM
Quote from: Maxim Pishnyak on August 02, 2013, 15:33:05 PM
At this place you know what VM plugin was used by you for changing price by 'width' dropdown.
Dig that one.