chup Posted April 5, 2011 Share Posted April 5, 2011 Can i ask how do i check if a product is being featured or is the best seller?by using the following, i can know if a product is "new" {if isset($product.new) && $product.new == 1} by using the following, i can know if a product is "on sales" {if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE} how can i check if the product is being featured or is the best seller? Link to comment Share on other sites More sharing options...
chup Posted April 5, 2011 Author Share Posted April 5, 2011 hi, anyone on this issue? Link to comment Share on other sites More sharing options...
chup Posted April 6, 2011 Author Share Posted April 6, 2011 im trying along this link for the feature list, but didn't turn out very well {if isset($product.id_category == 1) && $product.id_category == 1 && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE} Link to comment Share on other sites More sharing options...
chup Posted April 7, 2011 Author Share Posted April 7, 2011 hello, is there anyone can point me to a direction to resolve this issue?i'm sure there is some variables i can check upon with, just isn't sure which variables is it.for "Featured Item" i think we can start by checking it against the "Home" categories, but problem is i'm not sure what is the correct syntax to do so.anyone please? Link to comment Share on other sites More sharing options...
chup Posted April 8, 2011 Author Share Posted April 8, 2011 bump bump bump bump Link to comment Share on other sites More sharing options...
shokinro Posted April 8, 2011 Share Posted April 8, 2011 I don't think there is existing property in a class you can use.To check if a product is featured or not, you will need to do some coding I think.You must check if following record exists in table ps_category_productid_product = YourProdeuctID , id_category = 1id_category = 1 is Home featured category Link to comment Share on other sites More sharing options...
chup Posted April 11, 2011 Author Share Posted April 11, 2011 bump, anyone on this issue please? Link to comment Share on other sites More sharing options...
chup Posted April 13, 2011 Author Share Posted April 13, 2011 will someone look into this issue please? Link to comment Share on other sites More sharing options...
chup Posted April 18, 2011 Author Share Posted April 18, 2011 bump bump, anyone on this?? Link to comment Share on other sites More sharing options...
Recommended Posts