Hello.
I’m using your HikaShop - Price Calculations plugin to customize product prices based on custom fields and conditional formulas. So far, it works great with simple conditions like:
{etiqueta_001}=="SI" && {cant_etiquetas}=="1" && {grupoetiquetas}=="20u"
and formulas such as:
{price} + 1.5
Now, I need to apply around 216 unique combinations of three parameters:
ancho_etiqueta (label width)
alto_etiqueta (label height)
grupoetiquetas (quantity group)
Each combination requires setting a fixed final price (not an addition to {price}), which I have pre-calculated and organized in a spreadsheet.
For example, one condition and formula would look like this:
Condition:
{etiqueta_001}=="SI" && {ancho_etiqueta}=="3" && {alto_etiqueta}=="4" && {grupoetiquetas}=="500u"
Formula:
49.25
Additionally, please note that ancho_etiqueta and alto_etiqueta are custom fields I created to store label width and height.
My questions are:
Is there any way to bulk import or batch load all these 216 condition + formula rules, for example by CSV, JSON, or another method, instead of adding them manually one by one?
If bulk import is not possible, is there a way to add them directly via configuration files or code?
If neither is possible, are there any performance or technical limitations with having this many rules created manually?
Thank you very much for your help. I really want to maximize the potential of your plugin.