Forum


Calc Builder Support

Calc Builder support
Forums
Public write access is disabled. Please login

How can I show variables in the shopping cart of virtuemart? 09.12.2016 17:04

Dear Moonsoft-Supporters!

I have a question regarding the variables at the input mask.

How can I show variables in the shopping cart of virtuemart?

Example:

a + b = c (Result will show in the shopping cart)

But I would like to show the input a + b also in the basket!

How can I do this?

Thanks in advance for the reply

Best regards

Re: How can I show variables in the shopping cart of virtuemart? 11.12.2016 17:22

Hi,
you can pass information to your product including all needed data at the product description. We assume you have configured your link with VM using the price result at your code section:

$vm_price_X=$result;

//Being 'X' your own template product ID

You can include additional information at the product desc this way:


$vm_desc_X="Your description. Input 1 entered:".$input1. " Input 2 entered:".$input2;

Of course replacing $input1 and $input2 for your own input fields. For most VM templates, you could even include some html tags (like br) in order to make a more readable layout.

Please let us know if you need further help with this.

Regards
Moonsoft Team
www.moonsoft.es

Re: How can I show variables in the shopping cart of virtuemart? 12.12.2016 12:36

Thank you for the fast answer.

I will try it and give an answer...

Best regards

Re: How can I show variables in the shopping cart of virtuemart? 15.12.2016 16:49

Hi Moonsoft-Support,

it works!

Thank you very much for your support...

Best regards
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback