Search the Community
Showing results for tags 'feature id'.
-
Hi Everyone! we sell bottles of different size. the bottle size is the product feature with the id# 9. It is formattet like: "0,7" (in liters) divisions ain't rocket-science I want the price per unit to be calculated automatically when the price is set. like: read price read feature id=9 (liters -- replace comma by point?) divide and save as price per unit. i would highly appreciate any hints! Thank You! (ps 1.6.1.4)
- 8 replies
-
- price per unit
- feature id
-
(and 2 more)
Tagged with:
-
Hello guys, ----- Prestashop 1.7.6 I am trying to callout a specific feature, to be more exact: - I have a feature with ID 500 and I want to show it below the Buy Button in Product List - I tried a part of code to show on product.tpl (category products) to show a specific feature below the Buy Button if the product has the required Feature. So far, I had this: {foreach from=$product.features item=feature} <tr class="{cycle values="odd,even"}"> <td>{$feature.name|escape:'html':'UTF-8'}</td> <td>{$feature.value|escape:'html':'UTF-8'}</td> {/if} </tr> {/foreach} The above code actually show the whole features below the Buy Button. I want to call a function as below {if $feature.id_feature_value == 500} but this doesn't actually do anything. I've searched on every forum with every possible answer, but every each one has nothing to do with calling a single feature.
- 5 replies
-
- feature id
- features
-
(and 1 more)
Tagged with:
-
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 😉
- 2 replies
-
- feature id
- prestashop 1.7x
-
(and 1 more)
Tagged with: