desiap Posted April 11, 2016 Share Posted April 11, 2016 Hi, I’m trying to modify my shopping-cart.tpl but I’m having some issues with custom data. I detected when customized datas is managed but Prestashop just make this: {foreach $custom_data as $textField} {if $textField.name} {$textField.name} {else} {l s='Text #'}{$textField@index+1} {/if}: {$textField.value} {/foreach} $textField.value shows everything (image, text, price…) but I desire to access only to one field. I know it’s an array but I’m new to PS and the usual way I access to array doesn’t works ($textField[value]). How can I access just to the price? Thanks in advance Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now