philbauch Posted December 20, 2019 Share Posted December 20, 2019 Hi prestas, as it's really hard (or I'm too dump???) to find a full documentation of varibles etc for P.S. 1.7.x.x, I aski this here. I'm looking for the id of a pruduct's feature value. Not the ID of the feature, but of the choosen value. I found something like $feature.id_feature_value, but this doesn't return nothing. $feature.id_feature works, but as I said, I need the values ID Thanks a lot and cheers, Phil P.S. If someone got's a list of variables, would be really hepful and avoid bothering the forum for small pence like this 😉 Link to comment Share on other sites More sharing options...
philbauch Posted December 20, 2019 Author Share Posted December 20, 2019 (edited) That's the way I thought it should wor (and found snippets like this on various site) {foreach from=$product.features item=feature} {$feature.name} ==> works {$feature.value} ==> works {$feature.id_feature} ==> works {$feature.id_feature_value} ==> returns nothing... {/foreach} Hope it explains better what I try to get.... Thinks, I'm pretty just thinking in a wrong way and got stuck in a timetunnel 😉 Edited December 20, 2019 by philbauch acccidentally submitted before finishing (see edit history) Link to comment Share on other sites More sharing options...
PCQUATRO Posted December 20, 2019 Share Posted December 20, 2019 You can check this out -> https://blog.floriancourgey.com/2018/04/constants-and-variables-for-prestashop/ Best Regards 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