Installments calculation

Published May 21, 2020
Modules
Difficulty
Selected Clients
mediaexpert logo

Many e-commerce stores offer their customers installment purchases. This is especially helpful in case of expensive products.

It is very important to have this mechanism under control and be able to manage it effectively and dynamically calculate the installments and prices displayed on the site.

We created a dedicated mechanism for one of our clients which helps to do it effectively and be sure that errors are replaced with the proper element of dynamic content. This case shows our flexibility and approach to managing many different problems that occur on the website.

Example of use - Retail Industry

Challenge

It all started when a customer came to us with a pricing problem. They had displayed the offer in the wrong way in the product pages with 0% installments.

Solution

We helped with this problem by covering the prices with our dynamic content.

Knowing the actual price of the products from their product feed, we used jinjava to automatically calculate the amount of the installment that should be displayed on product pages.

All we needed to know was the amount of installments per a certain product.

Then we prepared a separate catalog in which we put the information about how many installments a certain product had.

Screenshot presenting installments

Prerequisites


General

  • OG:tags implemented (especially retailer part number).
  • Product feed with actual product prices.
  • Data about the number of installments we can implement to the catalog.

How to do it


Create catalogs


  1. This mechanism is based on our catalogs so we have to create two of them. First of all, we need to know the actual prices of products and place it in the product feed. We need to import those prices to the product catalog. You can do it using a shovel and proper mapping. It’s best if you create a dynamic import that works once an hour (e.g.), because prices change constantly.

Screenshot presenting installments

  1. We need to have information about how many installments are for a certain product. You should create the catalogue and add the ID of the product in the first column and the number of installments in the second.

Create a dynamic content


Create dynamic content based on those two catalogues which counts the values of both of them and the actual number of installments.

Remember to have OG:TAG product retailer part number implemented on the website. Thanks to this we can recognize which product the user is viewing at the moment. So the mechanism takes this retailer part number and we then search for it in both catalogs and then we can see that, for example, this product has 6 installments, we take the price of this product from the catalog and we are divide it by the amount of installments and present the results on the product page.

Note: Our dynamic content campaign can not only add something but also alter some content on the website. So, with the proper selector and inner position (in the Content TAB in campaign creator) we can receive this effect. This is especially useful in cases when prices on our customers’ websites were incorrect.

Such cases can show our flexibility and ability to manage the problems of our clients with simple solutions.

Read more


😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker