We understand that your ecommerce site is crucial to the success of your business, from time to time issues and questions can arise and you need to have the assurance there will be someone on hand to help resolve these in a timely fashion so you can spend your time driving your own business forward.

So if you are looking for faster responses to your questions or would like the assurance there is someone on hand for you to contact, fear not we have a number of paid support options that are available to you that can give your organisation the peace of mind knowing a member from the Cart Viper team will always be available to assist!

Purchase a Support Plan

Community Support

HomeHomeIssues and Supp...Issues and Supp...Installation & ...Installation & ...calculations on price using variant textboxcalculations on price using variant textbox
Previous
 
Next
New Post
8/25/2016 5:00 PM
 
I searched for an answer for this because it seems like something that would be built in. I'm looking for a multiplier basically as a variant. I have a textbox that asks the user for a number. That number could be from 1 to 1000 (no commas allowed). I want to be able to increase the price for this product that number entered times $0.90 ... is there already a way to do this that I'm not seeing?
 
New Post
8/25/2016 8:57 PM
 
Another thought here... I need a max price on this, too.

I coded this before with javascript in my other shopping cart so I know how to do it. Just not within the confines of Cart Viper adn DNN. Is there a way I could apply something custom to a field?
 
New Post
8/26/2016 10:59 AM
 
We don't support the ability to alter the price by multiplying it by the value that was entered into the variant textbox, variants can only alter the total price by a fixed amount. It would be possible todo however it would require some custom programming.

It is possible to validate that a user enters a value into the textbox variant between 1-1000 by using the regular expression feature. If you have a look at the below screen shot it shows how to set this up:

The regular expression to validate the input is between 1 - 1000 is:

^[1-9][0-9]?$|^1000$

 
New Post
9/1/2016 3:01 AM
 
I could do this maybe with javascript on lost focus of the field?

I already found the RegEx but then realized, we actually need to record whatever number they input. But calculate the max price dynamically. I think I'll try with some external js.
 
New Post
9/1/2016 1:06 PM
 
With JS you could capture the number that was entered into the variant textbox and multiply it by the base price of the product and display that to the user. However if they add it to the cart it will still use our internal logic to calculate the price, so they wont be charged the price you have displayed. 

As I mentioned it would be possible but would require some custom programming, if you would like a quote to implement this feature please email me. nigel@cartviper.com
 
Previous
 
Next
HomeHomeIssues and Supp...Issues and Supp...Installation & ...Installation & ...calculations on price using variant textboxcalculations on price using variant textbox


 

We use cookies on our website to improve our service to you, by continuing you agree to our use of cookies. However you are able to update your settings at any time.

Cookie Policy

A cookie, also known as an HTTP cookie, web cookie, or browser cookie, is a piece of data stored by a website within a browser, and then subsequently sent back to the same website by the browser. Cookies were designed to be a reliable mechanism for websites to remember things that a browser had done there in the past, which can include having clicked particular buttons, logging in, or having read pages on that site months or years ago.

Strictly Necessary Cookies

These cookies cannot be disabled

These cookies are necessary for the website to function and cannot be switched off. They are normally set in response to your interactions on the website e.g. logging in etc.

Cookies:
  • .ASPXANONYMOUS
  • .DOTNETNUKE
  • __RequestVerificationToken
  • authentication
  • CV_Portal
  • CV_Store_Portal_Cart_0
  • CV_USER
  • dnn_IsMobile
  • language
  • LastPageId
  • NADevGDPRCookieConsent_portal_0
  • userBrowsingCookie

Performance Cookies

These cookies allow us to monitor traffic to our website so we can improve the performance and content of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited or how you navigated around our website.

Cookies:
  • _ga
  • _gat
  • _gid

Functional Cookies

These cookies enable the website to provide enhanced functionality and content. They may be set by the website or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.

Cookies:

Currently we are not utilizing these types of cookies on our site.

Targeting Cookies

These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Cookies:

Currently we are not utilizing these types of cookies on our site.

Feedback