Getting started with shopVOX
Getting started with shopVOX
Your Account
Icons and Interface Tour
Inviting Users to Your Team
Setting Roles for your Team
My Profile + SMTP Settings
Import Customers & Contacts from your Accounting software
Adding Vendors
How do I Update Our Billing Info?
Connecting Your Sage One Accounting to shopVOX
Transaction Numbers Settings
Add your Payment Gateway
Adding Your Own Products
Setup Vendor Catalogs
A Guide to Creating Your First Order
Microsoft Outlook - Two Factor Authentication
Customize your account with Add-on Features
Importing and Exporting Customers & Contacts with a spreadsheet
Transactions: New Quote
Database Migration Support for shopVOX - Legacy data
Notifications: Keep your entire team up to date
Color Picker - Saving Colors
Transactions: What are Transactions?
Transactions: New Sales Order
"What's New" Feature: Your Guide to shopVOX Updates
How Do I Cancel My shopVOX Account?
Transactions: New Invoice
Securing Your shopVOX Account with Two-Factor Authentication (2FA)
How to Create a Quote
shopVOX's History Tracking for Quotes, Sales Orders, Invoices, and Jobs
Save Time with Emailed Document Templates
Webinars in shopVOX Pro: Learn and Grow with Us
shopVOX Express vs. Pro. Explaining the differences in Workflow
Optimizing Quotation Efficiency: Unlocking the Power of Multiple Quantities with shopVOX
Workflows - Quick Overview Express VS Pro
Global Search in shopVOX
Sales
Managing Customer and Leads
Sales Order States
Customer Alerts & Flags
Reports
Merge Customers
Adding new Contacts to Existing Customers
Customer Contacts: Setting Primary and Billing Contacts
Managing dates on Quotes, Sales Orders, and Invoices
Sales Leads - Sample Pipeline Setup
Understanding Quote Statuses in shopVOX
Sales Leads on Business Intelligence Dashboard
Products & Pricing
Basic Pricing concepts
Advanced Pricing concepts
A Comprehensive Guide to Ternary Operations in shopVOX
Product Templates - How to Turn on a Product Template
Mastering the Use of *, /, +, -, >, <, >=, <=, % in Ternary Operations
Unlocking Efficiency: Harnessing System Variables and References to Create a Click Charge
Undertanding Sell/Buy Ratio in shopVOX
Product System Formula - with Filter
Product Templates - Custom Formula Logic
Product Template - Add New Defualt Items Configuration Window
Custom Logic in shopVOX: Evaluating Multiple Boolean Modifiers
Mastering the Use of &&, ||, and === in Ternary Operations
Product Template - Add New Drop-Down Menu Configuration Window
Products: Utilizing the "Reference" Field to Combine two References into one Click Charge
Custom Product, Template, and Code Modifiers
Apparel Decoration
How to Price Color Changes
How to Price Promotional Products
How to Price Digitizing
How to Price Direct To Garment Printing
How to Price Color Matches
Comprehensive Guide to Setting Up a Basic Apparel Product in shopVOX
Integrated SAGE Promo ( promotional catalog )
Golden Products
Golden Product: Flyer - with BOM
Golden Product: Postcard- with BOM
Golden Product: Greeting Cards - with BOM
Golden Product: Calendar - with BOM
Golden Products List by Global Region
Products shopVOX Golden Products
Golden Product: Brochures - with BOM
Golden Product: Print + Copy - with BOM
Golden Product: Business Cards - with BOM
Golden Product: Booklet - with BOM
Golden Product: Door Hangers - with BOM
Managing Your Product Catalog with shopVOX
Workflow Stages and Templates Explained
Product Pricing - Round to 2 or 4 Decimal places
Setting Up Machine Rates in shopVOX: A Comprehensive Guide
Products: Grid Pricing Example
Product Templates - Using System Formulas - Adding a Double Sided check box
Materials Management in shopVOX: A Comprehensive Guide
Product Templates - User Created Formulas
Setting Up Labor Rates in shopVOX: A Simple Guide
Product Pricing: Material Wastage Calculator
Product Templates - Using System Formulas
Product Templates - User Created Formulas - Adding a Double side check box
How to Publish Products in shopVOX
Product Features - Custom Fields
Products - Pricing Type - Formulas
Product Pricing : Cost Plus
Product Templates & Formulas Explained
Increasing Product Prices by a Percentage in shopVOX - PBase
Production Management
Uploading and Sending Proofs for Approval
Using a TV for your Job Board
Creating Your Own Custom Job Views
Accounting and Reporting
QuickBooks Online
QuickBooks Desktop
Xero
Connecting to your Accounting Software
Sales Commissions
Streamline In-Store Payments with with Stripe Terminal or USB Credit Card readers in shopVOX
Avalara AvaTax - Sales tax setup guide
Differences between USA QuickBooks Online and Non-USA QuickBooks Online
How to create Partial Invoices
Multiple Currency Add-On - How it works and setting up
Setting Up Your Account
Accounting
How are Users Billed?
Five challenges to consider when setting up your Account
shopVOX Work Flow - The Big Picture
Leveraging External IP Addresses for Security
Hide or Show Quotes & Sales Orders, Ordered Quotes, and Invoiced Quotes and Sales Orders
Add Your Logo and Company Info
How to add Additional Charges to your Quotes, Sales Orders and Invoices
Terms and Conditions
Document's and PDF Settings
Group and Describe Jobs with Tags
How to Change Password
Forms: Customizing Forms in shopVOX
Common Questions About Users
Flagging a user as a "Sales Rep"
Industry Specific Content
Automation & Integrations
Shipping
APIs
What is an API?
How an API Works: A Simple Explanation
Leveraging the Power of shopVOX with API Integration
API Essentials: Understanding the Backbone of Software Communication
Building Your Own Custom Integration with shopVOX APIs
JSON Demystified: The Universal Language of Data Exchange
I'm having an issue with the shopVOX APIs. Who do I contact?
Does shopVOX do custom development?
Does shopVOX integrate with Salesforce?
Setting up Mailchimp Integration in shopVOX
Sales Leads Web Form in shopVOX: Streamline Prospect Capture and Management
Simplify User Authentication with OAuth Integration in shopVOX
Who to Contact for shopVOX API Issues
Setting up Constant Contact Integration in shopVOX
Does shopVOX integrate with Microsoft Project?
API and Webhooks integration feature
shopVOX Go! App
Discovering Your shopVOX API Credentials: A Step-by-Step Guide
Automation - Scheduled Actions
What are some popular advantages when using Zapier?
FAQs
shopVOX specific terms
Common questions
How to increase Database size ?
Opening PDFs directly in your browser
shopVOX User Types
Empowering Project Managers in the Proofing Process: A Guide to Workflow Enhancement with shopVOX
Hex Color file to match PMS color chart
How do I disabled user?
What is the Admin checkbox for when creating a new user?
Invoicing - Enhancing Customer Engagement: Tracking Invoice Views with shopVOX Pro
Where do jobs "fit" in the order process in ShopVOX?
Why can't I print the PDF documents directly, instead of downloading?
How can I send a quote and a proof together in one email to my customer?
Terms and Definitions
Printing Examples - Letterpress Printing
Printing Types Defined
Printing Examples - Digital Printing
Printing Examples - Offset
Errors and Troubleshooting
How to clear history from Chrome browser?
When I convert a quote to a work order, does the name of the order and the line item description carry forward or do I have to rewrite?
How to optimize your browser for shopVOX
Streamlining Proof Attachment to New Sales Orders for Enhanced Efficiency
Setting Up Minimum Order Amounts in shopVOX
What is our IP address for the mail server ?
Custom PDF in shopVOX
shopVOX Pro - Onboarding
Onboarding - Simple Products Setup
Mastering Product Setup in shopVOX: A Step-by-Step Guide from Basics to Advanced Customization
Lesson 1: Setting Up a Basic Product
Lesson 2: Introducing Dynamic Pricing Based on Square Footage
Lesson 3: Enhancing the Product with Templates and Dropdown Menus
Lesson 4: Adding a Default Item Linked to Modifiers
Lesson 5: Implementing a Double-Sided Boolean Modifier with Conditional Logic
Lesson 6: Replacing a System Formula with a Custom Formula
Lesson 7: Integrating Custom Formula into the Conditional Double-Sided Logic
Lesson 8: Adding an Additional Dropdown Menu
Lesson 9: Creating Custom Fields to Enhance Usability
Lesson 10: Implementing a Rush Charge Option
Summary Conclusion: Lessons 1-10
Quoting and Order Management
Adding/Updating Customers and Contacts
Purchase Orders - How to Add Materials and Products to a Purchase Order in shopVOX PRO for the Inventory Add-on
Stay Organized with Notes, Tasks, and Assets
Roll-Up Line Items to Combine Pricing
Purchasing and Receiving Blank Garments
Creating Your Own Custom Views
How to Issue Refunds and Credit Memos
Add Ons
Ecommerce
Ecommerce - Web Store
Ecommerce: Creating Discount Codes
Ecommerce - Steps to setup custom URL for paid cPortal
Webstore & Shopping Cart Examples from shopVOX Users
Setting up a Shopping Cart to sell online - Changing the URL
Ecommerce - cPortal - White Label Setup
Ecommerce - cPortal
Ecommerce - Overview
Empowering Your Customers with the Free cPortal
Ecommerce - Shopping Cart
Ecommerce - Apparel Web Store
Inventory
Inventory Module Add-On - Setup and use of Feature
Inventory Module Add-On - Setup Locations
Inventory Module Add-On
Divisions
Vehicle Wrap
Amazon S3 Storage
Amazon S3 (Simple Storage Service) - shopVOX Add-On
Amazon S3 (Simple Storage Service) - Amazon S3 Pricing
Amazon S3 Add-On (Simple Storage Service) - What is it?
Projects in shopVOX: Comprehensive Guide
Service Job Add-On: Streamline Your Workflow with shopVOX's New Service Job Feature
- All Categories
- Products & Pricing
- Advanced Pricing concepts
- Mastering the Use of *, /, +, -, >, <, >=, <=, % in Ternary Operations
Mastering the Use of *, /, +, -, >, <, >=, <=, % in Ternary Operations
Updated by Tyler MacDonald
When working with ternary operations in shopVOX, understanding the proper use of arithmetic and comparison operators is crucial. These operators allow you to perform mathematical calculations and make conditional decisions based on the results. In this article, we'll explore the use of *
, /
, +
, -
, >
, <
, >=
, <=
, and %
within ternary operations, providing a comprehensive guide to their correct usage.
Arithmetic Operators: *
, /
, +
, -
, %
Arithmetic operators are used to perform basic mathematical operations.
*
(Multiplication): Multiplies two operands./
(Division): Divides the first operand by the second.+
(Addition): Adds two operands.-
(Subtraction): Subtracts the second operand from the first.%
(Modulus): Returns the remainder of a division operation.
Example of *
in a Ternary Operation
Consider a scenario in shopVOX where you want to apply a different area calculation based on whether a job is double-sided:
(Double_Sided) ? area * 2 : area;
In this example:
- If
Double_Sided
is true, the area is doubled. - If
Double_Sided
is false, the area remains the same.
Example of /
in a Ternary Operation
Consider a scenario in shopVOX where you want to apply a different division based on whether an area should be halved:
(half_area) ? area / 2 : area;
In this example:
- If
half_area
is true, the area is divided by 2. - If
half_area
is false, the area remains the same.
Example of +
in a Ternary Operation
Consider a scenario in shopVOX where you want to add different lengths based on a condition:
(add_lengths) ? length1 + length2 : length1;
In this example:
- If
add_lengths
is true,length1
andlength2
are added. - If
add_lengths
is false, onlylength1
is used.
Example of -
in a Ternary Operation
Consider a scenario in shopVOX where you want to subtract a bonus square footage from the area based on a condition:
(Bonus_Sqft) ? area - 100 : area;
In this example:
- If
Bonus_Sqft
is true, 100 is subtracted from the area. - If
Bonus_Sqft
is false, the area remains the same.
Example of %
in a Ternary Operation
Consider a scenario in shopVOX where you want to adjust the area based on whether the quantity is even or odd:
(svLineItem_qty % 2 === 0) ? area : area * 1.5;
In this example:
- If
svLineItem_qty % 2
equals 0, the area remains the same. - Otherwise, the area is multiplied by 1.5.
Comparison Operators: >
, <
, >=
, <=
Comparison operators are used to compare two values.
>
(Greater Than): Returns true if the left operand is greater than the right operand.<
(Less Than): Returns true if the left operand is less than the right operand.>=
(Greater Than or Equal To): Returns true if the left operand is greater than or equal to the right operand.<=
(Less Than or Equal To): Returns true if the left operand is less than or equal to the right operand.
Example of >
in a Ternary Operation
Consider a scenario in shopVOX where you want to adjust the area based on whether the quantity exceeds a certain threshold:
(svLineItem_qty > 100) ? area * 1.5 : area * 2;
In this example:
- If
svLineItem_qty
is greater than 100, the area is multiplied by 1.5. - Otherwise, the area is multiplied by 2.
Example of <
in a Ternary Operation
Consider a scenario in shopVOX where you want to adjust the area based on whether the quantity is below a certain threshold:
(svLineItem_qty < 100) ? area * 2 : area * 1.5;
In this example:
- If
svLineItem_qty
is less than 100, the area is multiplied by 2. - Otherwise, the area is multiplied by 1.5.
Example of >=
in a Ternary Operation
Consider a scenario in shopVOX where you want to adjust the area based on whether the quantity meets or exceeds a certain threshold:
(svLineItem_qty >= 100) ? area * 1.5 : area * 2;
In this example:
- If
svLineItem_qty
is greater than or equal to 100, the area is multiplied by 1.5. - Otherwise, the area is multiplied by 2.
Example of <=
in a Ternary Operation
Consider a scenario in shopVOX where you want to adjust the area based on whether the quantity is within a certain limit:
(svLineItem_qty <= 100) ? area * 2 : area * 1.5;
In this example:
- If
svLineItem_qty
is less than or equal to 100, the area is multiplied by 2. - Otherwise, the area is multiplied by 1.5.
Combining Arithmetic and Comparison Operators
You can combine arithmetic and comparison operators to construct more complex conditions within a ternary operation.
Example:
(svLineItem_qty >= 100 && Double_Sided) ? area * 2.5 : area;
In this example:
- If
svLineItem_qty
is greater than or equal to 100 andDouble_Sided
is true, the area is multiplied by 2.5. - Otherwise, the area remains the same.
Understanding the proper use of *
, /
, +
, -
, >
, <
, >=
, <=
, and %
is crucial for constructing effective ternary operations in shopVOX. By mastering these operators, you can write concise and efficient conditional logic that enhances your custom configurations and improves code readability. Use this guide as a reference to ensure you are applying these operators correctly in your ternary operations.