Jump to content

shadowwalker675

Members
  • Posts

    12
  • Joined

  • Last visited

Profile Information

  • First Name
    reza
  • Last Name
    sardarzadeh

Recent Profile Visitors

1,506 profile views

shadowwalker675's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. just copy code in some of your template which will always can run for example header or footer which can be load on all templates.. i just changed this code so no one can see that ugly button style="display:none;" that i added <div class="content_sortPagiBar clearfix" style="display:none;"> <div class="sortPagiBar clearfix"> {include file="{$tpl_dir}product-compare.tpl"} </div> </div>
  2. i know that no one gonna answer me anyway as i asked many question before and no one answered me till now and i figured it out myself and posted the answer here...but i'm gonna write my problem here anyway..maybe if i find a solution later for my problem it will help somebody else in this forum... ok where is my problem?in my case i just built registeration form so user can register with only email and password.so right now his/her name and family is empty but i want to get that info later on checkout...when user go on checkout he/she will ask to enter his/her firstname and lastname and address so i want to get that firstname and lastname and put it in his firstname as lastname...so i have to check database if there is available firstname and lastname and if there is i wont update that fields but if there is not i will update that fields for first time when he/she enter his/her address info (name,family,address...etc) so what i need?i dont want you guys to tell me what to do or what to code but just if somebody know in which file prestashop insert address fileds into database?i cant findout where so i can update things with my own code.. thanks in advance and sorry for my bad english
  3. for this little spining circle that you said it fixed partially you just do like this 1-Download Text Crawler to search all .tpl files to find process-icon-loading class... in Text Crawler Software just set as below ------------------------------- Start Location : your shop root find :process-icon-loading File Filter: $.tpl ------------------------- 2-after finding all same files just Change process-icon-loading to process-icon-save 3-Remove disabled=disabled on that certain file <button type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i>{l s="save and stay"}</button> <button type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i>{l s="save"}</button> 4-so all files that have process-icon-loading must be process-icon-save like below and also removed disabled="disabled" <button type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right"><i class="process-icon-save"></i>{l s="save and stay"}</button> <button type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right"><i class="process-icon-save"></i>{l s="save"}</button> the problem is here whenever every tabs are ready we will remove all disabled class using javascript(jquery) and i think this is just effect that designer wanted to use..but i dont see why he used such thing !! its realy bad way to do ajax...i realy cant see..maybe using this to dont let user save whenever there is an error!! but i am not sure !!
  4. hi as the title is obvious i need to get the last occurance of li in this generator function private function generateCategoriesMenu($categories, $is_children = 0) { $html = ''; foreach ($categories as $key => $category) { if ($category['level_depth'] > 1) { $cat = new Category($category['id_category']); $link = Tools::HtmlEntitiesUTF8($cat->getLink()); } else $link = $this->context->link->getPageLink('index'); $html .= '<li'.(($this->page_name == 'category' && (int)Tools::getValue('id_category') == (int)$category['id_category']) ? ' class="sfHoverForce"' : '').'>'; $html .= '<a href="'.$link.'" title="'.$category['name'].'">'.$category['name'].'</a>'; if (isset($category['children']) && !empty($category['children'])) { $html .= '<ul>'; $html .= $this->generateCategoriesMenu($category['children'], 1); if ((int)$category['level_depth'] > 1 && !$is_children) { $files = scandir(_PS_CAT_IMG_DIR_); if (count($files) > 0) { $html .= '<li class="category-thumbnail">'; foreach ($files as $file){ if (preg_match('/^'.$category['id_category'].'-([0-9])?_thumb.jpg/i', $file) === 1){ $html .= '<div><img src="'.$this->context->link->getMediaLink(_THEME_CAT_DIR_.$file) .'" alt="'.Tools::SafeOutput($category['name']).'" title="' .Tools::SafeOutput($category['name']).'" class="imgm" /></div>'; break; } } $html .= '</li>'; } } $html .= '</ul>'; } $html .= '</li>'; } return $html; } as you can see in the image that i uploaded if that image of category go to one next sublevel my problem will solve.. any type of help will be appreciate
  5. can u please take a screen shot so i can know where do you mean by pricing and priority management?
  6. no loading at all ... ok i just fixed this issue but please be aware that this fix is temporary if you see any problem let me investigate more to find better solution... download this package and copy and paste it in your admin folder http://svncorp.net/themes.rar open your admin folder .... (admin folder name is like this admin24123113) extract themes.rar and copy and replace themes folder into your admin folder let me know if you have any problem with this fix Cheers !!
  7. i think the programmer of this page must have do some diffrent thing and thats when user click on another tab ajax will fire to load content and it will fix this problem.... for now i am going to dig into prestashop system to see if there is a temporary fix for this or no..i'll let you guys know if i find something
  8. hi i was developing a template and modules for prestashop so i just reached to designing template for search but i noticed that when i try to get data from blocklayered-ajax.php it returns nothing for me so i just installed another instance of prestashop and look everything..everything worked well when language was english but when i change language to persian /blocklayered-ajax.php return nothing for me...so i turned on display errors for prestashop and dev mode and nothing happend..again returns nothing for me so i just wondering where is the problem...seriously i am about to pull my hair off so please help me with this.. php error log shows me this bunch of warnings and notice [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: nbItemsPerLine in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Warning: Division by zero in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: totModulo in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: nbItemsPerLineTablet in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Warning: Division by zero in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: nbItemsPerLineMobile in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Warning: Division by zero in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: totModuloMobile in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: capture in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 274 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: products in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: nbItemsPerLine in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Warning: Division by zero in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: products in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: products in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: totModulo in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: products in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: nbItemsPerLineTablet in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Warning: Division by zero in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: products in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: nbItemsPerLineMobile in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Warning: Division by zero in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: products in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: products in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: totModuloMobile in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: capture in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 274 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: products in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: nbItemsPerLine in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Warning: Division by zero in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: products in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: products in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: totModulo in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: products in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Undefined index: nbItemsPerLineTablet in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 [01-Feb-2015 23:36:19 Asia/Tehran] PHP Warning: Division by zero in D:\xampp\htdocs\myshop\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 72 i console.loged js file to see if it returns something but it returns only null on success XHR finished loading: GET "http://localhost/myshop/modules/blocklayered/blocklayered-ajax.php?layered_…8&layered_price_slider=16_54&orderby=position&orderway=asc&_=1422821565438". jquery-1.11.0.min.js:4 Uncaught TypeError: Cannot read property 'meta_description' of null
×
×
  • Create New...