-
Posts
21 -
Joined
-
Last visited
cruzer076's Achievements
Newbie (1/14)
0
Reputation
-
How to set up Collections?
cruzer076 replied to cruzer076's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
Yeah, I think at this point, it may be the best solution..there are some limitations such as unable to list collection by category...but for now it should work...- 2 replies
-
- collections
- groups
-
(and 2 more)
Tagged with:
-
So I am having trouble trying to figure out how to set this up. We have Mulitple kinds of products that are associated with one kind of collection... Example: Collection: SMITH Categories Tables - SMITH Chairs - SMITH Benches - SMITH I have over 100 collections and about 10 categories, if I used subcategories, that would mean I need to create over 1000 subcategories all with the same names... Is there a better way? Can I use Tags, or "Manufacture" or "Suppliers" as a collections? Is there a module out there that helps with this? Thanks
- 2 replies
-
- collections
- groups
-
(and 2 more)
Tagged with:
-
Perfect, That may be enough for my company to foot the bill...Let me see if I can try to get this one to go through. Thanks for the heads up.
-
Thanks for that clarification. I was going to try to make it but since I don't understand French, it doesn't seem like it would be very beneficial to go for the english speaking counterparts out there...
-
Hey who's going? I'm trying to figure out how much it costs. is it 20 Euro's per ticket? I know silly question but just making sure.. I know it's based in Paris, but will the conference be held in English or French? Thanks
-
Hey guys, I wanted to have high resolution pictures on my site for my users to use but I want to somehow give them an option to load a normal or high resolution of the picture on Pop up. Are there any mods out there that do that? Each pic is about 3-6mb.. does anyone else have suggestions of showing high res images on pop up? Thanks!
-
Hello guys, I was wondering how do you set up collections of products? For example. ABC furniture company. They have a collection named: "Amazing" The products are Amazing Table, Amazing Chair, Amazing Coffee Table etc. They only want to show Collections on the site. So as people browse the selection, they could order the whole collection or pieces of it. Problem: 1. We do not want to create a separate product that are navigable through out the store, meaning we don't want people to search through the catalog and see pictures of chairs, and bar stools separately we just want them to see the collection as one product and all the pieces are order able. Problem 2. Some collections are the same name so there will be Amazing in "Dining Funiture" and Amazing in "home office" what I heard is that Google will index these as the same product will this hurt our seo? I would like to get your feedback on how to set that up? My idea is create a product called "Amazing" Then create attributes for each product like Amazing chair 5.00 Amzing Table 10.00 Amazing Coffee Table 6.00 Thanks
-
Hey guys, I can search by product id and it shows the product but when I search by name product images don't show up. I am looking in the search contoller.php file and trying to find where to start. Any suggestions? <?php /* * 2007-2011 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 7197 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class SearchControllerCore extends FrontController { public $php_self = 'search.php'; public $instantSearch; public $ajaxSearch; public function __construct() { parent::__construct(); $this->instantSearch = Tools::getValue('instantSearch'); $this->ajaxSearch = Tools::getValue('ajaxSearch'); } public function preProcess() { parent::preProcess(); $query = urldecode(Tools::getValue('q')); if ($this->ajaxSearch) { self::$link = new Link(); $searchResults = Search::find((int)(Tools::getValue('id_lang')), $query, 1, 10, 'position', 'desc', true); foreach ($searchResults AS &$product) $product['product_link'] = self::$link->getProductLink($product['id_product'], $product['prewrite'], $product['crewrite']); die(Tools::jsonEncode($searchResults)); } if ($this->instantSearch && !is_array($query)) { $this->productSort(); $this->n = abs((int)(Tools::getValue('n', Configuration::get('PS_PRODUCTS_PER_PAGE')))); $this->p = abs((int)(Tools::getValue('p', 1))); $search = Search::find((int)(self::$cookie->id_lang), $query, $this->p, $this->n, $this->orderBy, $this->orderWay); Module::hookExec('search', array('expr' => $query, 'total' => $search['total'])); $nbProducts = $search['total']; $this->pagination($nbProducts); self::$smarty->assign(array( 'products' => $search['result'], // DEPRECATED (since to 1.4), not use this: conflict with block_cart module 'search_products' => $search['result'], 'nbProducts' => $search['total'], 'search_query' => $query, 'instantSearch' => $this->instantSearch, 'homeSize' => Image::getSize('home'))); } elseif ($query = Tools::getValue('search_query', Tools::getValue('ref')) AND !is_array($query)) { $this->productSort(); $this->n = abs((int)(Tools::getValue('n', Configuration::get('PS_PRODUCTS_PER_PAGE')))); $this->p = abs((int)(Tools::getValue('p', 1))); $search = Search::find((int)(self::$cookie->id_lang), $query, $this->p, $this->n, $this->orderBy, $this->orderWay); Module::hookExec('search', array('expr' => $query, 'total' => $search['total'])); $nbProducts = $search['total']; $this->pagination($nbProducts); self::$smarty->assign(array( 'products' => $search['result'], // DEPRECATED (since to 1.4), not use this: conflict with block_cart module 'search_products' => $search['result'], 'nbProducts' => $search['total'], 'search_query' => $query, 'homeSize' => Image::getSize('home'))); } elseif ($tag = urldecode(Tools::getValue('tag')) AND !is_array($tag)) { $nbProducts = (int)(Search::searchTag((int)(self::$cookie->id_lang), $tag, true)); $this->pagination($nbProducts); $result = Search::searchTag((int)(self::$cookie->id_lang), $tag, false, $this->p, $this->n, $this->orderBy, $this->orderWay); Module::hookExec('search', array('expr' => $tag, 'total' => sizeof($result))); self::$smarty->assign(array( 'search_tag' => $tag, 'products' => $result, // DEPRECATED (since to 1.4), not use this: conflict with block_cart module 'search_products' => $result, 'nbProducts' => $nbProducts, 'homeSize' => Image::getSize('home'))); } else { self::$smarty->assign(array( 'products' => array(), 'search_products' => array(), 'pages_nb' => 1, 'nbProducts' => 0)); } self::$smarty->assign('add_prod_display', Configuration::get('PS_ATTRIBUTE_CATEGORY_DISPLAY')); } public function displayHeader() { if (!$this->instantSearch AND !$this->ajaxSearch) parent::displayHeader(); else self::$smarty->assign('static_token', Tools::getToken(false)); } public function displayContent() { parent::displayContent(); self::$smarty->display(_PS_THEME_DIR_.'search.tpl'); } public function displayFooter() { if (!$this->instantSearch AND !$this->ajaxSearch) parent::displayFooter(); } public function setMedia() { parent::setMedia(); if (!$this->instantSearch AND !$this->ajaxSearch) Tools::addCSS(_THEME_CSS_DIR_.'product_list.css'); } }
-
How to hide price on Category page?
cruzer076 replied to cruzer076's topic in Addons, modules and themes developers
resolved...it resided in: product-list.tpl -
Hey Clayton, thanks for the heads up, We have done things a little different, a product name is really the product line.. I.e. Leona is a set of tables, chairs and side desks, each one is part of the "Leona" collection. This would be a separate subject but the best way I figured to do collections was to use attributes and the products are really attributes. So Leona is a Product Attribute 1: Table Top $500 Attribute 2: Chair: 29.00 Etc...I didn't want to have a separate "product image" when searching the through the catalog, Make sense? Is there a better way to show colletions? Yes, this search things is weird, can't figure it out
-
When I do a search for a part number, the search finds the products, displays the full part number and it work correctly. (Ajax search is working great) but.... When I search for a product name, I get the correct number of items in the search but the pictures do not display. (see attached). test here: http://www.ssilver.com/ search for "leona" I have tried: 1. re-indexed entire index 2. add missing products to index. 3. Force compile and refresh and still no change. I think it has to do with either my My Search Code Controller code...or search.tpl Am I in the right ball park? Search Controller code * International Registered Trademark & Property of PrestaShop SA */ class SearchControllerCore extends FrontController { public $php_self = 'search.php'; public $instantSearch; public $ajaxSearch; public function __construct() { parent::__construct(); $this->instantSearch = Tools::getValue('instantSearch'); $this->ajaxSearch = Tools::getValue('ajaxSearch'); } public function preProcess() { parent::preProcess(); $query = urldecode(Tools::getValue('q')); if ($this->ajaxSearch) { self::$link = new Link(); $searchResults = Search::find((int)(Tools::getValue('id_lang')), $query, 1, 10, 'position', 'desc', true); foreach ($searchResults AS &$product) $product['product_link'] = self::$link->getProductLink($product['id_product'], $product['prewrite'], $product['crewrite']); die(Tools::jsonEncode($searchResults)); } if ($this->instantSearch && !is_array($query)) { $this->productSort(); $this->n = abs((int)(Tools::getValue('n', Configuration::get('PS_PRODUCTS_PER_PAGE')))); $this->p = abs((int)(Tools::getValue('p', 1))); $search = Search::find((int)(self::$cookie->id_lang), $query, $this->p, $this->n, $this->orderBy, $this->orderWay); Module::hookExec('search', array('expr' => $query, 'total' => $search['total'])); $nbProducts = $search['total']; $this->pagination($nbProducts); self::$smarty->assign(array( 'products' => $search['result'], // DEPRECATED (since to 1.4), not use this: conflict with block_cart module 'search_products' => $search['result'], 'nbProducts' => $search['total'], 'search_query' => $query, 'instantSearch' => $this->instantSearch, 'homeSize' => Image::getSize('home'))); } elseif ($query = Tools::getValue('search_query', Tools::getValue('ref')) AND !is_array($query)) { $this->productSort(); $this->n = abs((int)(Tools::getValue('n', Configuration::get('PS_PRODUCTS_PER_PAGE')))); $this->p = abs((int)(Tools::getValue('p', 1))); $search = Search::find((int)(self::$cookie->id_lang), $query, $this->p, $this->n, $this->orderBy, $this->orderWay); Module::hookExec('search', array('expr' => $query, 'total' => $search['total'])); $nbProducts = $search['total']; $this->pagination($nbProducts); self::$smarty->assign(array( 'products' => $search['result'], // DEPRECATED (since to 1.4), not use this: conflict with block_cart module 'search_products' => $search['result'], 'nbProducts' => $search['total'], 'search_query' => $query, 'homeSize' => Image::getSize('home'))); } elseif ($tag = urldecode(Tools::getValue('tag')) AND !is_array($tag)) { $nbProducts = (int)(Search::searchTag((int)(self::$cookie->id_lang), $tag, true)); $this->pagination($nbProducts); $result = Search::searchTag((int)(self::$cookie->id_lang), $tag, false, $this->p, $this->n, $this->orderBy, $this->orderWay); Module::hookExec('search', array('expr' => $tag, 'total' => sizeof($result))); self::$smarty->assign(array( 'search_tag' => $tag, 'products' => $result, // DEPRECATED (since to 1.4), not use this: conflict with block_cart module 'search_products' => $result, 'nbProducts' => $nbProducts, 'homeSize' => Image::getSize('home'))); } else { self::$smarty->assign(array( 'products' => array(), 'search_products' => array(), 'pages_nb' => 1, 'nbProducts' => 0)); } self::$smarty->assign('add_prod_display', Configuration::get('PS_ATTRIBUTE_CATEGORY_DISPLAY')); } public function displayHeader() { if (!$this->instantSearch AND !$this->ajaxSearch) parent::displayHeader(); else self::$smarty->assign('static_token', Tools::getToken(false)); } public function displayContent() { parent::displayContent(); self::$smarty->display(_PS_THEME_DIR_.'search.tpl'); } public function displayFooter() { if (!$this->instantSearch AND !$this->ajaxSearch) parent::displayFooter(); } public function setMedia() { parent::setMedia(); if (!$this->instantSearch AND !$this->ajaxSearch) Tools::addCSS(_THEME_CSS_DIR_.'product_list.css'); } } Search TPL {capture name=path}{l s='Search'}{/capture} {include file="$tpl_dir./breadcrumb.tpl"} <h1 {if isset($instantSearch) && $instantSearch}id="instant_search_results"{/if}> {l s='Search'} {if $nbProducts > 0}"{if isset($search_query) && $search_query}{$search_query|escape:'htmlall':'UTF-8'}{elseif $search_tag}{$search_tag|escape:'htmlall':'UTF-8'}{elseif $ref}{$ref|escape:'htmlall':'UTF-8'}{/if}"{/if} {if isset($instantSearch) && $instantSearch}<a href="#" class="close">{l s='Return to previous page'}</a>{/if} </h1> {include file="$tpl_dir./errors.tpl"} {if !$nbProducts} <p class="warning"> {if isset($search_query) && $search_query} {l s='No results found for your search'} "{if isset($search_query)}{$search_query|escape:'htmlall':'UTF-8'}{/if}" {elseif isset($search_tag) && $search_tag} {l s='No results found for your search'} "{$search_tag|escape:'htmlall':'UTF-8'}" {else} {l s='Please type a search keyword'} {/if} </p> {else} <h3><span class="big">{$nbProducts|intval}</span> {if $nbProducts == 1}{l s='result has been found.'}{else}{l s='results have been found.'}{/if}</h3> {if !isset($instantSearch) || (isset($instantSearch) && !$instantSearch)}{include file="$tpl_dir./product-sort.tpl"}{/if} {include file="$tpl_dir./product-list.tpl" products=$search_products} {if !isset($instantSearch) || (isset($instantSearch) && !$instantSearch)}{include file="$tpl_dir./pagination.tpl"}{/if} {/if}
-
Theme Broken in I.E but no others
cruzer076 replied to cruzer076's topic in Addons, modules and themes developers
Hello, thanks for the reply but I got it resolved with some coders last night. Can you send me your skype info, I may need your help in the future. Thanks. -
Hey Guys. I have a theme here: http://www.ssilver.com It works great in firefox, safari and chrome but in IE it's messed up. Where do I even look for I.E changes? Also if you are on skype, please add me: rixride, I can pay with paypal if you can help today. Thanks