Jump to content

i need some help pls


Recommended Posts

in the function getProductsProperties from classes/Product.php
you can get the features like
after:

foreach ($query_result AS $row) {


add:

$features = Product::getFrontFeaturesStatic(intval($cookie->id_lang), $row['id_product']);
$row['features'] = $features;



than in the tpl file of product-list you display them

it's more than this as the problem is more complex in terms of optimisation but you have a good starting point now.

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