Jump to content

I can't find variables names


Recommended Posts

Hi!

 

Im kinda new using PrestaShop, and i can't find info about this online.

 

I need to find the name of the variables of a product combination, per example the weight. I found out that i can use $product.weight for a simple product, but i didn't found the way to show up the impact weight of a product combination on a tpl.

 

How could i do this? Ty in advice

 

PS Version:  1.7.6.8

Captura.PNG

Link to comment
Share on other sites

  On 4/28/2021 at 9:17 AM, endriu107 said:

You need to dump $product or $combinatons and checks what it's return, not all files have access to same data.

Expand  

You are LITERALLY GOD man.

Now i have to figure out array syntaxis on Smarty since i come from javascript, but his is a completly different topic.

 

Thank you!

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...