News:

Support the VirtueMart project and become a member

Main Menu

Price Calculator

Started by OliviaH, November 13, 2019, 15:49:54 PM

Previous topic - Next topic

OliviaH

Hello,
We are a wood flooring company so on most of our wood products we have a calculator option to enter in sqm required and it works out how many packs you need. We are adding a few new products in and don't know how to add this option in.

Anyone got any ideas?

I have attached a screenshot of one of the products that has the calculator present just so you know what I'm talking about!

Thanks



OliviaH

I just need to know where to find it within the code/back end of joomla because we must have the plugin somewhere for it to work on the products we already have on the site. The problem is when I am trying to add new products that need the calculator, i'm unsure where to find the option to add it in.

Jörgen

Are You using VM ?  What version ?

Where does the calculator come from ? Those people should be the one you should talk to.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

OliviaH

Yes using VM, version 3.0.12 which I am aware is very old!

We are unsure where the calculator comes from that's our issue, the guy who used to do our website has now left so we are unsure where to find this information. We thought it might just be an option on virtuemart when adding a new product in

StefanSTS

You might be using this extension.

https://extensions.virtuemart.net/products/custom-size-detail

There is a "link to tutorial" that might help if it is this plugin.

Regards
Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

GJC Web Design

#6
If you supply a login to https://flooringsales.co.uk/ then we can have a look at the code

looks like it was coded by your template supplier Flexible

see templates/avant/js/custpriceupdate.js
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

OliviaH

Thanks StefanSTS that's great - I will try that!

StefanSTS

Looks like GJC had a closer look into your template already.
So it's probably a template feature.

GJC is a good resource for help here.
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

PRO

ALSO, go into your existing products nd whats in the backend of the product?

GJC Web Design

the sq area input is a restyled bog standard VM quantity input with some new JS attached

<input type="text" class="quantity-input js-recalculate" id="quantity-input" name="" onkeydown="return isNumberKey(event)" onkeyup="Calculate()" placeholder="Enter area in sqm" value="" init="1" step="1">

onkeyup="Calculate()"

functions in https://flooringsales.co.uk/templates/avant/js/custpriceupdate.js

so no plugin

I would assume some sublayout over ride that u have to choose in the product or programatically assigned by cat/prod
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation