Jump to content

seanloo

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by seanloo

  1. Assume I have set specific price for different customer groups / countries. If customer filter price, the result is according to base price, not specific price. What is the method to make sure the result output the new specific price, not old base price? Attached an example for your reference. Product base price = $50 (outdated price) Product specific price = $25 (new valid price) If filter price range = $40 - $50, the product still visible (not logic, it should be invisible) If filter price range = $20 - $40, the product invisible (not logic, it should be visible) Remark: Prestashop 1.6.0.6, localhost (wamp)
  2. PS 1.6.0.6 > Our stores > Google map 1) Appear state's ISO code, but i want state name 2) Missing country name Please advise how to solve. Thanks in advance.
  3. Tested PS 1.6.0.6. I have no problem with Free Shipping. Under BO > Shipping > Carrier, make sure - the particular carriers status is enable - shipping location(s) is/are ticked (All / Africa / Asia / Central America/Antilla / Europe / Europe (non-EU) / North America / Oceania / South America) - group access Visitor/Guest/Customer are ticked
  4. Sorry. Try some methods (included above) but still cannot pass the message into merchant's email. With module Mail Alerts enable:- 1) Standard five-steps checkout, customer and guest both can add comment under Step-3 (Address), and the comment can pass to merchant's email. 2) If One-page checkout, customer and guest cannot add comment (by default). Try to add form / textarea in order-opc.tpl, but cannot pass the comment to merchant's email. Please advise solution. TQ.
  5. https://www.flickr.com/photos/121354636@N08/13959115969/ For one-page checkout, add these code into "order-opc.tpl" Now, customer or guest can write comment or special instruction about the order, no matter "standard five steps" or "one-page checkout". <div id="ordermsg" class="form-group"> <label>{l s='If you would like to add a comment about your order, please write it in the field below.'}</label> <textarea class="form-control" cols="60" rows="6" name="message">{if isset($oldMessage)}{$oldMessage}{/if}</textarea> </div>
  6. PS 1.6.0.6 with "Mail Alerts" enable. Merchant will receive a notification when an order is placed. In the email, there is a section for "Customer Message" But on checkout page (one-page checkout), customer and guest cannot find any message box/form. How to insert customer message (for special instruction for his order)? I dont know if it is a bug... Or am i miss/delete something there after edit the theme files? Remark: It seems like standard five-step checkout has no problem. Customer can insert comment under addresses.
  7. For a B2B store, assume that a company has purchase N products with total quantity Q units:- Product 1: 10 units Product 2: 20 units Product 3: 10 units ... ... ... ... ... ... ... ... Product N: Q units Refer attachment, I want to change the default "There are Q items in your cart." to this "There are N products in your cart.". How can I count total products (NOT total units) that added to cart? yourtheme/modules/blockcart/blockcart.tpl
  8. Problem solved. Clear the cache and browsing data.
  9. PS 1.6.0.6 Number of products to be displayed not work for these modules:- - Featured products on the homepage 1.3 - New products block 1.8
  10. PS 1.6.0.6 and cross browser testing on IE8 (localhost and web hosting). Problem: Catalog filters (price, colour, size, etc.) keeps loading but nothing happen. Message: Unexpected call to method or property access. Line: 3 Char: 20137 Code: 0 URI: PS-ROOT-FOLDER/themes/default-bootstrap/cache/v_3_cee2a350144641de2f6031fe2d8eeb99.js This JS-file is "jquery-1.11.0.min.js" According to jquery.com, jQuery 1.X support IE 6+. So, jQuery 1.11 should support IE 8, right? Please advise. Thank you. Remark: 1. Not "blocklayered" file permission problem. 2. BO >> Performance >> CCC (COMBINE, COMPRESS AND CACHE) I have enable all fields - Smart cache for CSS; Smart cache for JavaScript; Minify HTML; Compress inline JavaScript in HTML 3. I manage a B2B website. Some companies and government entities still using IE8 / Windows XP (around 30%-40% traffic). Due to some reasons (company policy, budget, etc., they are difficult to update software / upgrade computer. So I have to make sure they can access PS1.6 on old version of internet browser.
  11. I delete "themes/default-bootstrap/modules/homeslider/homeslider.tpl" and it works for IE8 and other latest version of browsers. Why?
  12. 1. If you fresh install PS 1.6.0.6 online, you need to update 1 module only >> "Image slider for your homepage" 2a. phpmyadmin >> Your database >> Export tab >> press Go 2b. PS BO >> Advanced Parameters >> DB Backup
  13. By the way, i do cross browser testing just now. Localhost, PS 1.6.0.6, FO homeslider not work in IE8. No images and left/right arrow. Chrome & Firefox has no problem. Maybe I will upload to web hosting and double check again.
  14. Sorry, I don't understand. Both PS 1.6.0.5 & 1.6.0.6 "ROOT/modules/homeslider/" has no "img" folder. It is "images" folder. If change to "homeslider/img/", then it should return missing pictures, right? ROOT/modules/homeslider/images >> exist ROOT/modules/homeslider/img >> not exist
  15. change blocklayered folder & all files inside blocklayered folder. NOT all the files under ROOT folder.
  16. Cross browser testing on layered navigation / catalog filter. Chrome, Firefox and Safari are OK. But I found that old version IE (example IE8) keeps loading but nothing happen. Tested PS 1.6.0.5 on IE8. NOT file permission problem for old version IE. Both localhost and web hosting (with correct file permissions as per above post) - modules folder permissions 755 - blocklayered folder permissions 755 and all file permissions to 644. Error detail:- User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2) Timestamp: Mon, 7 Apr 2014 08:46:24 UTC Message: Unexpected call to method or property access. Line: 3 Char: 20137 Code: 0 URI: PS-ROOT-FOLDER/themes/default-bootstrap/cache/v_3_cee2a350144641de2f6031fe2d8eeb99.js This cache file is jquery-1.11.0.min.js According to jquery.com, jQuery 1.X support IE 6+. So, jQuery 1.11 should support IE 8. But it seems that jquery not work for prestashop 1.6 layered navigation, tested with IE8.
  17. Does PS 1.6 support old version of Internet Explorer (example IE8)? I have try IE8 on PS 1.6 demo site, FO "Layered navigation block" not working. The loading icon appears and keep loading... loading... loading... Preview problem here Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2) Timestamp: Mon, 7 Apr 2014 08:46:24 UTC Message: Unexpected call to method or property access. Line: 3 Char: 20137 Code: 0 URI: PS-ROOT-FOLDER/themes/default-bootstrap/cache/v_3_cee2a350144641de2f6031fe2d8eeb99.js [This is cache file from "jquery-1.11.0.min.js"] According to jquery.com, jQuery 1.X support IE 6+. So, jQuery 1.11 should support IE 8. But IE8 keep loading without any results after I filter the price/colour/size/... I also try this but cannot solve:- BO >> Performance >> CCC (COMBINE, COMPRESS AND CACHE) - Smart cache for CSS [YES] - Smart cache for JavaScript [YES] - Minify HTML [YES] - Compress inline JavaScript in HTML [YES] Also tested localhost and web hosting. Confirmed this is not file permission problem. Remark: I know IE8 is old browser. But those B2B customers who using IE8 (Windows XP) generate at least 15%-20% sales from my website. So how can I ignore this customers? P/S: Human are lazy to change. It is a habit.
  18. IE8 | PS 1.6.5.0 default theme Filter price and features not work on "Layered navigation block". The loading icon appears and keep loading... loading... loading... I have try both ON and OFF at BO but cannot solve it:- BO >> Performance >> CCC (COMBINE, COMPRESS AND CACHE) - Smart cache for CSS - Smart cache for JavaScript - Minify HTML - Compress inline JavaScript in HTML
  19. Thanks to Jiten rash and EI Patron. I'm appreciate for your guides above. I'll try this in my b2b shop soon. To show message for non-logged users, how about using jQuery jGrowl? http://plugins.jquery.com/jgrowl/ Maybe add this code in necessary TPL-files. {if $cookie->isLogged()} {else} <script type="text/javascript"> $.jGrowl('{l s='Register or login to see prices'}', { life: 5000 }); </script> {/if}
  20. I have check my SQL database yesterday. My 261 products with 7 features and 2 languages have generated more than 4100 id_feature_value. It should be 261 * 7 * 2 = 3654 id_feature_value, right? I don't know if it is normal? Maybe everytime I convert the customised values to pre-defined values, it will create a new id_feature_value, but still keep the outdated id_feature_value, right? Remark: Tables "ps_feature_value" and "ps_feature_value_lang", where "id_feature_value" is auto_increment.
  21. My product Features have partial "Pre-defined values". If edit to $feature_value->custom = 1; all features values will become "Customised values". Then I have to manual update products one by one, to change partial Features' customised values to pre-defined values. I have practiced this method in my shop (PS 1.5.5) previously... waste time and effort And PS 1.5.6 seem has the same problem if import products from csv-file... Maybe it is technical limitation to import both pre-defined values and customised values in the same time...
  22. PrestaShop 1.5.6 I have pre-defined some feature values before import CSV. After import the products from CSV-file, I found that many duplicate/repeat pre-defined values. That mean all customised values become pre-defined values; while the pre-defined values are duplicated to many same values. I cannot test further now regarding Feature problem. Hope PS 1.5.6 has solved the following problem too that found in PS 1.5.5. PrestaShop 1.5.5 Features values missing/disappear problem. http://forge.prestashop.com/browse/PSCFV-10276 http://www.prestashop.com/forums/topic/252700-product-features-suddenly-missing-please-help/?do=findComment&comment=1381733 Remark: Currently my shop still using PS 1.5.5. It is funny that all pre-defined values have to set to customised values because of the problem above (features values missing when you update product).
  23. Set pre-defined values first before import CSV:- BO > Catalog > Features > click "Add a new feature" button > add a feature name > click "Add new feature values" > add some feature values. Then, import your products csv. Make sure feature name and values in CSV file same as per above setting. Caution: There is a bug if your import product csv with pre-defined feature values. A or some feature values are missing if you edit product detail manually (even click "Save" without edit).\ Refer http://www.prestashop.com/forums/topic/252700-product-features-suddenly-missing-please-help/?view=findpost&p=1381733&hl=feature+value+missing
  24. If you import products csv with pre-defined values, product feature value will be removed if you manual edit the product detail (even click Save without edit anything). Don't know how to debug it until now, so I have to set product features in customised values. Refer http://www.prestashop.com/forums/topic/252700-product-features-suddenly-missing-please-help/
  25. I have confirmed that the problem occurs if you have at least one pre-defined values on "Features". If you use all customized values, there are no problems. Refer this solution http://forge.prestashop.com/browse/PSCFV-7907 In ROOT\classes\FeatureValue.php, addFeatureValueImport() function 1) Change feature_value->custom = 1;" to "$feature_value->custom = 0;" not work for me. 2) Regarding the revised code as per following:- a) $custom = 0; // the code still not work... $custom = 1; // it's work if you accept change all the pre-defined values to customized values (but SQL database file size becomes larger...) public static function addFeatureValueImport($id_feature, $name, $custom) // $custom true = NOT synchronized / $custom false = synchronized { $already_exists = false; $id_feature_value = null; $custom = 1; // Set this value $custom = 0 or 1; to choose pre-defined value or customized value if (!$custom) { $rq = Db::getInstance()->executeS(' SELECT fv.`id_feature_value` FROM '._DB_PREFIX_.'feature_value fv LEFT JOIN '._DB_PREFIX_.'feature_value_lang fvl ON (fvl.`id_feature_value` = fv.`id_feature_value`) WHERE `value` = \''.pSQL($name).'\' AND fv.`id_feature` = '.(int)$id_feature.' GROUP BY fv.`id_feature_value` LIMIT 1 '); if (isset($rq[0]['id_feature_value']) && $rq[0]['id_feature_value'] ) { $id_feature_value = (int) $rq[0]['id_feature_value']; $already_exists = true; } } // If the feature value is custom for each product or if it is reused and doesn't already exist, we insert it if ($custom || !$already_exists) { $feature_value = new FeatureValue(); $languages = Language::getLanguages(); foreach ($languages as $language) $feature_value->value[$language['id_lang']] = strval($name); $feature_value->id_feature = (int)$id_feature; $feature_value->custom = $custom; $feature_value->add(); $id_feature_value = (int) $feature_value->id; } return $id_feature_value; }
×
×
  • Create New...