Hi there,
I want to sell prints and charge my clients per sq.m.
I want custom field cart attribute to increase product price before it will be multiply by customsize (surface = width x length).
At present "custom field" increase product price after (surface*price) multiplication is done.
How to get it to work in the right way?
Example:
a – width
b – length
c – product price
d – extra option price - custom field cart attribute
It works this way now:
[ (a*b*c) ] + d
but I want it to work this way:
[ (a*b)*(c+d) ]
I will appreciate any reply.
Thank you, arthur
http://extensions.virtuemart.net/extensions-virtuemart-2/custom-size-detail
thanks for the link, did I miss something?
I am using this plugin.
Any idea guys?
still waiting for plugin developer response ...
I'll appreciate all your suggestions and advices
OKEY,
Thanks to custom size plugin developer.
He has done great job and the plugin was upgraded + he changed the core code to get it work as it should be.
I have made some cosmetics changes to let it display correct units, both on product page and in cart and also I had to add a little mathematical trick to convert cm2 to m2.
I just need to move custom size fields to the top of all custom fields only now - but it can not be done by changing custom fields order because this custom size field has to be tha very last (!!!) to work as it works right now. So I need to change / override graphically product page or plugin layout now. The reason why I don't want it on the bottom - it is less logically from customer point now.
Thank you VM you plugin developer again!
Hi, i really need the same solution for the same problem, could you share your sollution?
Thank you
The solution is using that commercial plugin: http://extensions.virtuemart.net/extensions-virtuemart-2/custom-size-detail
Regards
Yes, i've got it , install it, but it doesn't add the product to cart...
I've made has the plugin tutorial decribes, but it's not working.
I've posted a ticket but still no answer...
here is the link for a test product
http://www.teste.dezainedeparede.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=2082&virtuemart_category_id=78&Itemid=645&lang=pt
Hi,
This is not related how is working, but cause of your joomla site bad configuration (jquery loaded more than once). Also please provide your joomla & vm2 versions you are using.
You are loading jquery more than once, please fix it... probably from k2 or any other module/component.
<script type="text/javascript" src="/media/system/js/mootools-core.js">
<script type="text/javascript" src="/media/system/js/core.js">
<script type="text/javascript" src="/media/system/js/mootools-more.js">
<script type="text/javascript" src="/media/system/js/modal.js">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js">
<script type="text/javascript" src="/components/com_k2/js/k2.js">
<script type="text/javascript" src="http://www.teste.dezainedeparede.com/components/com_k2store/js/k2store.js">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/jquery.noConflict.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/vmsite.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/facebox.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/vmprices.js">
<script type="text/javascript" src="http://www.teste.dezainedeparede.com/templates/gk_bikestore/js/gk.scripts.js">
<script type="text/javascript" src="http://www.teste.dezainedeparede.com/templates/gk_bikestore/js/gk.menu.js">
<script type="text/javascript" src="http://www.teste.dezainedeparede.com/modules/mod_cf_filtering/assets/general.js">
<script type="text/javascript" src="http://www.teste.dezainedeparede.com/modules/mod_cf_filtering/assets/slider.js">
Use firebug to examine your site code and styling .. also for checking js conflicts ...
http://forum.virtuemart.net/index.php?topic=102850.0
Javascript conflicts:
http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery
http://dev.virtuemart.net/projects/virtuemart/wiki/JavascriptCSS_Template_Overrides_and_Avoiding_Conflicts_between_Libraries
Regards
I've disable the template, erased some components and modules, and the plugin now adds to cart, but doesn't change the price according dimension.
What could be wrong now?
http://www.teste.dezainedeparede.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=2082&virtuemart_category_id=78&Itemid=645&lang=pt
Thank you
Hi,
You are still jquery twice.
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js">
<script type="text/javascript" src="/components/com_k2/js/k2.js">
<script type="text/javascript" src="http://www.teste.dezainedeparede.com/components/com_k2store/js/k2store.js">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/jquery.noConflict.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/vmsite.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/facebox.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/vmprices.js">
One using k2 component and one from vm2 component
For how the plugin working please contact the Milbo (he haves created) and read carefully the documentation comes with it.
Regards
Ok thank you, i'll try with the support from the plugin creator.
Regards
First try to unload one instance from jquery...
Btw, the plugin developer is the same as the main vm core developer, me. Thanks :-)
I've disable the K2 shop component, and now it works fine.
Yupii ; )
Can you help to set it like this previous user explained?
My site selld wallpaper prints in various kinds if materials, with various prices by Square Meter.
Example:
a – width
b – length
c – product price
d – extra option price - custom field cart attribute
It works this way now:
[ (a*b*c) ] + d
but I want it to work this way:
[ (a*b)*(c+d) ]
Quote from: Dezaine studio on December 30, 2012, 21:06:51 PM
Can you help to set it like this previous user explained?
My site selld wallpaper prints in various kinds if materials, with various prices by Square Meter.
Example:
a – width
b – length
c – product price
d – extra option price - custom field cart attribute
It works this way now:
[ (a*b*c) ] + d
but I want it to work this way:
[ (a*b)*(c+d) ]
Hi did you get a fix with this?
Not quite, can you give a hint about waht to change on the plugin code?
regards
pedro
Hi! I 've the same problem.
I need this formula for calculation
(a*b*c)
c-sales price,
what i get now is (a*b*d)+c, which is totally wrong in my case.
d-plug-in price.
Joomla 2.5 VM 2.0.20
Thanks!
You can always try our extension.
Price is calculated using users input for width and length, besides, you can set maximum and minimum width and set a minimum pricing rate.
Here is the link
http://design-it.es/diseno-web-extensiones/your-size-custom-size-virtuemart-detail (http://design-it.es/diseno-web-extensiones/your-size-custom-size-virtuemart-detail)
and here is a demo
http://design-it.es/lienzo-detail (http://design-it.es/lienzo-detail)