Jump to content

récupérer variable de $combinaisons


Recommended Posts

Bonjour,

 

Je cherche à récupérer une variable, je m'explique :

 

le tableau $combinaison est fait comme ça :

 

Smarty_Variable Object (3)

->value = Array (4)

46 => Array (12)

attributes_values => Array (2)

2 => "BLEU"

1 => "Taille S/M (36-41)"

attributes => Array (2)

0 => 4

1 => 11

price => 0

45 => Array (12)

attributes_values => Array (2)

2 => "BLEU"

1 => "Taille L/XL (41/44)"

attributes => Array (2)

 

j'arrive à récupérer le prix dans un foreach.

 

Mais je voudrais également récupérer une information plus haute qui est le 45,46 du premier array ! Comment faire pour l'attraper ?

 

merci !!!

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...