Include price modifier on products page

Hi, i need to add on he product details page on the store front the price modifier of a product option, how could i do that?

The idea it’s inform the product price + price modifier divided by 6

thanks for help

Hello ismegman,

Thank you for your message.

In order to display product options' modifiers on the product details page in the storefront, you should go to Settings > General in your CS-Cart admin panel and enable the Display modifiers for product options check box. After this click the Save button.

Please check it.

Thank you.

Pavel Zyukin

CS-Cart Support team

Hi, actualy i need to inform the product price + modifier value / 6.

I´ve try this:

{foreach from=$product.product_options item=po name=po_opt}

{assign var=“var” value=$po.variants[$po.value]}

Ou no Cartão de Crédito:

{math equation=“(x+y)/6” x=$product.price y=$var.modifier assign=“vezes” format=“%.2f”}

1x Sem juros de R$ {$vezes}


Whit that i get this wrong duplicated and without price values return:

What i need is this:

when the option is selected also change the product price + modifier value / 6

Can you help me?

Hello ismegman,

Thank you very much for the clarification.

Unfortunately, some additional code changes which are not covered by our technical support service are required to be made to implement this feature. You can hire a third-party developer to implement it (here you can find a lot of offers from CS-Cart developers or consider our custom development service).

Thank you.

Pavel Zyukin

CS-Cart Support team