Jiten rash (away) Posted September 23, 2013 Posted September 23, 2013 (edited) Hello guys Fully Responsive very beautifully designed + added with rich snippets Home featured module . I have spent a lot of time Improving this module Download and well tested in two colums + 1 column DEMO HERE homefeatured.zip Edited September 27, 2013 by Jiten rash (see edit history) 9 1 Share this post Link to post Share on other sites More sharing options...
vekia Posted September 23, 2013 Posted September 23, 2013 great Jiten! im going to add this addon to free modules list! do you agree? Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted September 23, 2013 Posted September 23, 2013 yes vekia..wait 2 min itemscope spells wrong here in on one element..i will quick edit it.. after some day i m planning to add slides with jquery tabs featured products>best selller>new products 1 Share this post Link to post Share on other sites More sharing options...
vekia Posted September 23, 2013 Posted September 23, 2013 of course, with responsiveness? great idea Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted September 23, 2013 Posted September 23, 2013 yeah done...it also has rich snippets directed by schema.org 1 Share this post Link to post Share on other sites More sharing options...
BIG PRINT Posted September 26, 2013 Posted September 26, 2013 Hi, Nice module bur I have an isue installing it! "Responsive homefeatured is not a valid module name." I tried to delete everything with the same name, but it is the same. Prestshop 1.5.4.1 www.impression-drapeaux.fr Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Posted September 27, 2013 ummm its in config.xml change it to home featured,,, but no issue u just upload homefeatured.tpl from folder >homefeatured\themes\your theme or default\modules\homefeatured to same in your server and replace ur css with Share this post Link to post Share on other sites More sharing options...
BIG PRINT Posted September 27, 2013 Posted September 27, 2013 Hi Jiten, it is working now!! Thanks! But I have a error: Warning: math: parameter liHeight: is not numeric in /home/www/zzimpressiondrapeaux/tools/smarty/plugins/function.math.php on line 63 an Idea? Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Posted September 27, 2013 i wud like to see how it looks Warning: math: parameter liHeight: is not numeric in /home/www/zzimpressiondrapeaux/tools/smarty/plugins/function.math.php on line 63 its saying height is not numeric cos i have given auto as a value u can simply remove this line {assign var='liHeight' value=auto} on themes/modules/homefeatured/homefeatured.tpl line 31 Share this post Link to post Share on other sites More sharing options...
BIG PRINT Posted September 27, 2013 Posted September 27, 2013 ok done, now I have: Warning: math: function call liHeight not allowed in /home/www/zzimpressiondrapeaux/tools/smarty/plugins/function.math.php on line 50 Sorry!!! Share this post Link to post Share on other sites More sharing options...
vekia Posted September 27, 2013 Posted September 27, 2013 ok Jiten, i updated free modules list, your module is there in "front office features" section thank you for your contribution, its very useful! 1 Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Posted September 27, 2013 how u installed that module ? Share this post Link to post Share on other sites More sharing options...
BIG PRINT Posted September 27, 2013 Posted September 27, 2013 Installed by back office. Just put the .tpl and css in my theme directory! Share this post Link to post Share on other sites More sharing options...
askinjew Posted September 27, 2013 Posted September 27, 2013 hi l did try 1.5.4.1 its work. thanks a lot nice work 1 Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted September 27, 2013 Posted September 27, 2013 ok remove {assign var='liHeight' value=auto} from modules directory also open homefeatured.tpl on modules Share this post Link to post Share on other sites More sharing options...
Lu thranga Posted October 7, 2013 Posted October 7, 2013 Hi, Great module, thank you so much for this . But one question, I successfully installed the module and no errors or no change in the front office,i did not change or edit any page after installing it How i know rich snippets working or do i need to edit and add any of my details (like webmaster tool account name) to some files ?Simply clicking module installation button in the back office is enough ? Sorry i'm new to the rich snippets. Thank you again. Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted October 8, 2013 Posted October 8, 2013 see rich snippets shud be added on whole we page..this will be just a part of it.like same with a responsive module Share this post Link to post Share on other sites More sharing options...
vekia Posted October 8, 2013 Posted October 8, 2013 hello Jiten does it work in lates 1.5.6 release? Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted October 8, 2013 Posted October 8, 2013 haven't tested yet but im sure it will work Share this post Link to post Share on other sites More sharing options...
Boleris Posted October 8, 2013 Posted October 8, 2013 How can i edit or remove grey bottom line with shadow in this module ? And i tested in 1.5.6 rel. it's working. Share this post Link to post Share on other sites More sharing options...
Jiten rash (away) Posted October 9, 2013 Posted October 9, 2013 u need to remove this line on #featured-products_block_center{ box-shadow: 0px 8px 6px -6px rgb(136, 136, 136); if u like image to zoom a little on hover add this here on this featured-products_block_center .product_image:hover { transform: scale(1.1); Share this post Link to post Share on other sites More sharing options...
KevinNash Posted October 23, 2013 Posted October 23, 2013 Hello, GWT rich snippets tool don't shos any snippets but it shows errors http://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Fbotqhomeneeds.com%2Fdemox%2F Can you have a look ? Share this post Link to post Share on other sites More sharing options...
papich Posted October 24, 2013 Posted October 24, 2013 Hello, thanks for this module can you think we can organize products per categories? Share this post Link to post Share on other sites More sharing options...
Dahl99 Posted November 14, 2013 Posted November 14, 2013 Hi, thank you for the module. I have replaced homefeatured.css in my homefeatured module with the replacement homefeatured.css file and did the same with the homefeatured.tpl in my themes/modules/homefeatured module but when I go to configure the homefeatured module in the BO I don't see any changes. Have I done this correctly? If so will I see rich snippets once Google revisits my site? Share this post Link to post Share on other sites More sharing options...
lweinlan Posted December 5, 2013 Posted December 5, 2013 Hello, does this module work on prestashop 1.4.8.2 ? I get an error message stating that the module was not installed successfully. I tried to install by uploading from my computer to the back office, and then clicking on install. Thanks Share this post Link to post Share on other sites More sharing options...
papich Posted December 15, 2013 Posted December 15, 2013 Hello, The demo link is dead can i put prouct per categorie? thanks Share this post Link to post Share on other sites More sharing options...
luigicarlini Posted December 16, 2013 Posted December 16, 2013 Does this module have pagination? i'd like to put all my products (more or less 150) in homepage, so i need to display it in different pages... Share this post Link to post Share on other sites More sharing options...
Vivian Tan Posted January 6, 2014 Posted January 6, 2014 I have a module like this default on my modules list Featured products on the homepage. INSTALLED Developed by : PrestaShop+jiten... | Version : 0.9 | Category : Front Office Features Is it the same as the module in this topic? When I try to install the module downloaded from this topic it seems to be the same Share this post Link to post Share on other sites More sharing options...
faand412882 Posted January 7, 2014 Posted January 7, 2014 Hello guys Fully Responsive very beautifully designed + added with rich snippets Home featured module . I have spent a lot of time Improving this module Download and well tested in two colums + 1 column DEMO HERE Всем привет! Ссылка: http://botqhomeneeds.com/demox не работает, поправьте ее плиз! Share this post Link to post Share on other sites More sharing options...
vekia Posted January 7, 2014 Posted January 7, 2014 that's right, demo link doesn't work Jiten - can you post working demo please? Share this post Link to post Share on other sites More sharing options...
ninu13 Posted January 13, 2014 Posted January 13, 2014 Hello, Great Module! Please tell me how to have 3 columns instead of 2 on my homepage. Here is my website http://www.e-second.ro/index.php Best Regards! Share this post Link to post Share on other sites More sharing options...
vekia Posted January 13, 2014 Posted January 13, 2014 you have to reduce width of <li> object, change it from 157 t #featured-products_block_center li { width: 137px; height: 242px; margin: 21px 8px 1px 14px; padding: 1px 7px; border: 1px dotted #ede; } o 137 Share this post Link to post Share on other sites More sharing options...
ninu13 Posted January 13, 2014 Posted January 13, 2014 Hello Vekia, Still doesn`t work Is there something else I can do? Best Regards! Share this post Link to post Share on other sites More sharing options...
vekia Posted January 13, 2014 Posted January 13, 2014 you've got there 3 columns now: Share this post Link to post Share on other sites More sharing options...
ninu13 Posted January 14, 2014 Posted January 14, 2014 Sorry, my mistake, my cache was full. Thank you very much Share this post Link to post Share on other sites More sharing options...
vekia Posted January 14, 2014 Posted January 14, 2014 thank you for confirmation i checked it also on other browsers and seems like everything is fine now Share this post Link to post Share on other sites More sharing options...
papich Posted January 16, 2014 Posted January 16, 2014 Hello, How can i show homefeature by categorie? Share this post Link to post Share on other sites More sharing options...
vekia Posted January 16, 2014 Posted January 16, 2014 Hello, How can i show homefeature by categorie? read this guide: how to show different category in homefeatured module 1 Share this post Link to post Share on other sites More sharing options...
papich Posted January 16, 2014 Posted January 16, 2014 (edited) Thanks do you have the results and it's work on 1.5.6.1? Do you have a method to show all categories without ID? Edited January 16, 2014 by papich (see edit history) Share this post Link to post Share on other sites More sharing options...
vekia Posted January 16, 2014 Posted January 16, 2014 in this case you will have to modify a bit core. it's necessary to add this function: public static function getAllProducts($id_lang, $page_number = 0, $nb_products = 10, $count = false, $order_by = null, $order_way = null, Context $context = null) { if (!$context) $context = Context::getContext(); $front = true; if (!in_array($context->controller->controller_type, array('front', 'modulefront'))) $front = false; if ($page_number < 0) $page_number = 0; if ($nb_products < 1) $nb_products = 10; if (empty($order_by) || $order_by == 'position') $order_by = 'date_add'; if (empty($order_way)) $order_way = 'DESC'; if ($order_by == 'id_product' || $order_by == 'price' || $order_by == 'date_add' || $order_by == 'date_upd') $order_by_prefix = 'p'; else if ($order_by == 'name') $order_by_prefix = 'pl'; if (!Validate::isOrderBy($order_by) || !Validate::isOrderWay($order_way)) die(Tools::displayError()); $groups = FrontController::getCurrentCustomerGroups(); $sql_groups = (count($groups) ? 'IN ('.implode(',', $groups).')' : '= 1'); if (strpos($order_by, '.') > 0) { $order_by = explode('.', $order_by); $order_by_prefix = $order_by[0]; $order_by = $order_by[1]; } if ($count) { $sql = 'SELECT COUNT(p.`id_product`) AS nb FROM `'._DB_PREFIX_.'product` p '.Shop::addSqlAssociation('product', 'p').' WHERE product_shop.`active` = 1 '.($front ? ' AND product_shop.`visibility` IN ("both", "catalog")' : '').' AND p.`id_product` IN ( SELECT cp.`id_product` FROM `'._DB_PREFIX_.'category_group` cg LEFT JOIN `'._DB_PREFIX_.'category_product` cp ON (cp.`id_category` = cg.`id_category`) WHERE cg.`id_group` '.$sql_groups.' )'; return (int)Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($sql); } $sql = new DbQuery(); $sql->select( 'p.*, product_shop.*, stock.out_of_stock, IFNULL(stock.quantity, 0) as quantity, pl.`description`, pl.`description_short`, pl.`link_rewrite`, pl.`meta_description`, pl.`meta_keywords`, pl.`meta_title`, pl.`name`, MAX(image_shop.`id_image`) id_image, il.`legend`, m.`name` AS manufacturer_name ' ); $sql->from('product', 'p'); $sql->join(Shop::addSqlAssociation('product', 'p')); $sql->leftJoin('product_lang', 'pl', ' p.`id_product` = pl.`id_product` AND pl.`id_lang` = '.(int)$id_lang.Shop::addSqlRestrictionOnLang('pl') ); $sql->leftJoin('image', 'i', 'i.`id_product` = p.`id_product`'); $sql->join(Shop::addSqlAssociation('image', 'i', false, 'image_shop.cover=1')); $sql->leftJoin('image_lang', 'il', 'i.`id_image` = il.`id_image` AND il.`id_lang` = '.(int)$id_lang); $sql->leftJoin('manufacturer', 'm', 'm.`id_manufacturer` = p.`id_manufacturer`'); $sql->where('product_shop.`active` = 1'); if ($front) $sql->where('product_shop.`visibility` IN ("both", "catalog")'); $sql->where('p.`id_product` IN ( SELECT cp.`id_product` FROM `'._DB_PREFIX_.'category_group` cg LEFT JOIN `'._DB_PREFIX_.'category_product` cp ON (cp.`id_category` = cg.`id_category`) WHERE cg.`id_group` '.$sql_groups.')' ); $sql->groupBy('product_shop.id_product'); $sql->orderBy((isset($order_by_prefix) ? pSQL($order_by_prefix).'.' : '').'`'.pSQL($order_by).'` '.pSQL($order_way)); $sql->limit($nb_products, $page_number * $nb_products); if (Combination::isFeatureActive()) { $sql->select('MAX(product_attribute_shop.id_product_attribute) id_product_attribute'); $sql->leftOuterJoin('product_attribute', 'pa', 'p.`id_product` = pa.`id_product`'); $sql->join(Shop::addSqlAssociation('product_attribute', 'pa', false, 'product_attribute_shop.default_on = 1')); } $sql->join(Product::sqlStock('p', Combination::isFeatureActive() ? 'product_attribute_shop' : 0)); $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql); if ($order_by == 'price') Tools::orderbyPrice($result, $order_way); if (!$result) return false; $products_ids = array(); foreach ($result as $row) $products_ids[] = $row['id_product']; // Thus you can avoid one query per product, because there will be only one query for all the products of the cart Product::cacheFrontFeatures($products_ids, $id_lang); return Product::getProductsProperties((int)$id_lang, $result); } add it to Product.php class located in /classes/ directory then use this Product::getAllProducts($this->context->language->id, (int)($this->p) - 1, (int)($this->n), false, $this->orderBy, $this->orderWay) to define products in smarty array variable. 1 Share this post Link to post Share on other sites More sharing options...
papich Posted January 20, 2014 Posted January 20, 2014 Hello, Thanks Where i put this? then use this Product::getAllProducts($this->context->language->id, (int)($this->p) - 1, (int)($this->n), false, $this->orderBy, $this->orderWay) to define products in smarty array variable. Do you have the result? Share this post Link to post Share on other sites More sharing options...
vekia Posted January 20, 2014 Posted January 20, 2014 in module php file where you've got function to get products from home category it's a part of displayHome function Share this post Link to post Share on other sites More sharing options...
generalexperts Posted January 30, 2014 Posted January 30, 2014 (edited) This module is great!! I am trying to make some design modifications. First, when I hover the mouse over the featured products it shows "View" where the black circles are. Is there a way to delete those. Second, After I installed the module I changed it so there is one row, instead of two rows. The red bullets show there are 3 lines of text for the product description and the 2 featured products on the right only have 2 lines of text. I would like to have 3 and keep it all the same. Third, In blue bullets, most likely attached to 2nd problem... I would like to have that row moved down to match the 2 on the right. I have looked in the "homefeatured.css" and the "homefeatured.tpl" and couldn't fine where to change this. Thank you! Edited February 27, 2014 by generalexperts (see edit history) Share this post Link to post Share on other sites More sharing options...
deepee Posted February 12, 2014 Posted February 12, 2014 (edited) The demo link still doesn't work? http://www.botqhomeneeds.com/demox Firefox can't find the server at www.botqhomeneeds.com. Edited February 12, 2014 by deepee (see edit history) 1 Share this post Link to post Share on other sites More sharing options...
generalexperts Posted February 13, 2014 Posted February 13, 2014 (edited) I was able to get rid of the "view" by removing <a class="lnk_more" href="{$product.link}" title="{l s='View' mod='homefeatured'}">{l s='View' mod='homefeatured'}</a> from the homefeatured.tpl file. The other two were cause by the product descriptions. The two on the right had bullets for each line. As the two on the left were in a short paragraph. After removing the bullets in the short description for the product the problem fixed itself. Edited February 13, 2014 by generalexperts (see edit history) 1 Share this post Link to post Share on other sites More sharing options...
edututi Posted July 25, 2016 Posted July 25, 2016 The DEMO link redirects to a domain for sale. And does it work for 1.6? I tried Yotpo reviews but I never saw the module frontoffice Does someone knows another alternative? This is my shop if someone could help me on this thanks: camisetas de fútbol baratas Share this post Link to post 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