Skip to content
REFIERE JONYTIPS Y GANA COMISIONES! 💸 OBTÉN TU LINK DE REFERIDO 🔗 HAZ CLICK AQUÍ 🖱️ REFIERE JONYTIPS Y GANA COMISIONES! 💸 OBTÉN TU LINK DE REFERIDO 🔗 HAZ CLICK AQUÍ 🖱️ REFIERE JONYTIPS Y GANA COMISIONES! 💸 OBTÉN TU LINK DE REFERIDO 🔗 HAZ CLICK AQUÍ 🖱️

Cart

Your cart is empty

Article: Add the sale price in installments 💴 with or without interest

Agregar el precio de venta en cuotas 💴  con o sin intereses

Add the sale price in installments 💴 with or without interest

It is always a good sales tactic to give the value from or the value of the product quota since we are giving a very low amount to hook the customer. In general, it occurs with high-value products such as a television or products over $50,000.

Today this rule of giving the installments can be seen permanently on pages like Mercadolibre or Amazon who, even if it is for $5,000, will give you the installment to tell you that if you buy it with TC it will cost you almost nothing and also to mention that if you pay in installments you will have no interest.

The interest will depend on who your means of payment is and the conditions of the TC that the client's bank has.

Well, let's get started!

The truth is that it is very easy, it is just a little programming and basic mathematics (which I am very bad at)

Within the programming in Shopify there are mathematical rules called "Math Filters", these allow you to apply a mathematical rule to a variable. in this case the price of your product.

The original formula to divide the price is:

 PROGRAMMING:
 <!-- product.price = 200 --> {{ product.price | divided_by: 10 }} RESULT 20

If you read it, it's actually very easy to understand. It says that the product.price will be our variable, which is = 200 and will be divided by 10, which will give us a result of 20. That is, your price in 10 interest-free installments. Applied to a Shopify website that gives 3 interest-free installments it would be:

 3 installments of {{ product.price | divided_by: 3 | money }}

the | money inside the variable to give it the price format that we use in our store and ensure that the result will be with the corresponding points and decimals. It would look something like this:

We can do this same thing with more variables and the final result would be

Where we show the compare price (i.e. original) the savings that is the compare price minus the sale price and the installments that would be + an icon that I will show you how to apply later.

If we need to add interest to the fee, the formula would be:

 {{ product.price | times: 1.15| divided_by: 3 | money }}

Here times would be our multiplier and 1.15 would be an extra 15%. So here we multiply our price by 1.15 and then divide it into the installments, which are 3.

How do we apply it?

Depending on our template, what we have to look for is the line that contains the product.price, this can be product.liquid, product-template.liquid, product-page-info.liquid, it will depend on your theme.

We use ctrl + F to search for the product.price and below this line we place our formula depending on how many installments we will give or whether it is with or without interest. It could be something like this

Or 3 interest-free installments of {{ product.price | divided_by: 3 | money }}

Was it very difficult for you? Find this Jonytips in Complements in products and I install it for you.

Leave a comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

All comments are moderated before being published.

Read more

Combinar stock según SKU en Shopify para publicaciones que comparten un producto en común.

Combine stock by SKU in Shopify for posts that share a common product.

Many sell products that share a common raw material, so to speak. They differ by design or another characteristic that causes 1 base product such as a t-shirt to be multiplied by 20 designs and ...

Read more
Bloquear el botón derecho en tu web para las imágenes y mostrar un mensaje

Block the right click on your website for images and show a message

Let's copy all this code and paste it into the theme.liquid of our template. To paste the code it has to be at the end of our template but before the <body> command ends It has been pr...

Read more