Hi. I am using the miniCart() function by Graham Bradley- show a mini cart summary on the product page. it is working fine but does not show me the component being bought just the product name.
The function uses:
to get the product hash ($pProduct). and displays the product name by accessing the element :
I do not really understand what is in the array ($pProduct) and I am struggling to figure out how it is populated. I have tried replacing NAME with CHOICE and ATTRIBUTE but these return blanks.
I was hoping someone could tell me whether in fact $pProduct contains the choices?
If not whether $pCartItem might contain it (as it has $pCartItem->{'QUANTITY'} )?
Any documentation or information on these arrays would be brilliant too.
Many thanks in advance.
Tony
The function uses:
Code:
[GetProduct($pCartItem->{'PRODUCT_REFERENCE'}, $pCartItem->{'SID'});
Code:
($pProduct->{'NAME'}
I was hoping someone could tell me whether in fact $pProduct contains the choices?
If not whether $pCartItem might contain it (as it has $pCartItem->{'QUANTITY'} )?
Any documentation or information on these arrays would be brilliant too.
Many thanks in advance.
Tony
Comment