Jump to content

leeofaccy

Member
  • Posts

    276
  • Joined

  • Last visited

Everything posted by leeofaccy

  1. Yes, I think you're probably correct. I haven't looked into it in depth as yet. It just seems to be certain things is doesn't navigate back to the non-ssl part of the site. Maybe some small code changes might do the trick. I will have a look when I have time and post it up if I have any luck. Lee
  2. I have had the same problem myself, where for example, I have viewed basket (In SSL), then clicked a sitedoc link and the same happens. I don't know if it is just a shared SSL problem, or if it affects all stores. I found it happens when I have been updating the store and usually clearing the cache works for that. I have a similar problem, when you log out, then click the Featured Product, I get the same thing to which I haven't found a solution as yet. So, if anyone has had the same problem and managed to fix it, please let us know! Lee
  3. Try clearing your cache in the Rebuild / Recount menu. Lee
  4. Hi You should be able to use both the free shipping and the flat rate options together. When the customer checks out, there should be a drop-down with both options, usually with the free shipping showing and the flat rate in the drop-down. Lee
  5. Hi Everything below the 'Header' is wrapped in your content div. In your code for that page, find this, just after the code for the 'Useful Links' menu. <div class="sidebar_tfoot_main"><div class="sidebar_tfoot_left"><div class="sidebar_tfoot_right"></div></div></div> </div> </div> <div class="clear"></div> Add a closing div at the end, like so <div class="sidebar_tfoot_main"><div class="sidebar_tfoot_left"><div class="sidebar_tfoot_right"></div></div></div> </div> </div> <div class="clear"></div></div> Lee
  6. Hi Sorry, I made a typo in an earlier post The style is txtDefault NOT textDefault. If you change that, it should pick up the style (Below), from your stylesheet. .txtDefault, a.txtDefault, a.txtLink, a.txtLocation { font-family: Verdana, Arial, Helvetica, sans-serif; color: #333333; text-decoration:none; } I have looked a little deeper into why the links are not as they should be. First, you shouldn't really have had to put the txtDefault styling in, on the categories.tpl file like so... <!-- END: li_start --> <a class="txtDefault" href="index.php?_a=viewCat&amp;catId={DATA.cat_id}">{DATA.cat_name} </a> <!-- BEGIN: li_end --> It looks like a style is missing from your stylesheet (li-nav), which controls the styling of list items ie your categories. Also, I think the mainmenu-nav style, along with a few others, are also missing. Lee.
  7. You will find it in skins/YOUR_SKIN/styleTemplates/boxes/categories.tpl Lee
  8. The site is http://www.melsbrushes.co.uk/shop/ I think Jason. The reason these links are the 'default' colour is because there is no class on the links. One of your links looks like this... <a href="index.php?_a=viewCat&amp;catId=14">Commercial License for Free Sets (1)</a> but should look like this.... <a class="txtDefault" href="index.php?_a=viewCat&amp;catId=14">Commercial License for Free Sets (1)</a> It looks like your categories.tpl has been altered, or the links for the categories have been manually entered. As for removing the number of products, you will need to edit the categories.tpl for your skin and remove ({DATA.noProducts}). If the no. of products are still there after you remove it, try clearing your cache. Lee
  9. Hi The reason one side is lower than the other is because the Home Content is in a paragraph, rather than a DIV. Firefox & IE8 put a top & bottom margin on paragraphs, so it is pushing it down (Because of the top margin). You need to create a style and add it to either your layout or style.css stylesheet. You can make it so ALL paragraphs are affected by using p { margin-top: 0px; } Or just the paragraphs within that particular column with this .colMid p { margin-top: 0px; } Even with this, the menu at the top of that column is still out of shape in IE8 and would require some more work on it, and to also align everything up so the site looks more even. Lee
  10. Hi This is what the line in question looks like on my classes/session/cc_session.php and it works fine. if (preg_match('/^http(s?):\/\//i', $redir) && !preg_match('/^'.$glob['storeURL'].'|^'.$config['storeURL_SSL'].'/i', $redir)) { If yours is different, try replacing it with the one above. Lee
  11. I know this is quite an old post, but here is a way of getting round this if anyone else needs to know. You can use the By Weight shipping module to achieve this. In the case of the above; set AU in Zone 1 countries and 9999:6.00 in Zone 1 Shiping Rates: which would give you a flat rate of $6 for deliveries in Australia. The 9999, is the weight adding up to 9999KG, which is highly unlikely. So basically combined items, weighing up to 9999KG will be charged $6 AUD flat rate. Just change the amount after 9999: to whatever rate you would like to charge. You could also step the charge to say, 10:6.00, 9999:15.00, which would give you a $6 rate up to 10KG, then $15 from 10KG upwards. Then, if you would like to change the delivery option name from 1st and/or 2nd Class, click the Languages link, under the Modules tab in the Admin menu, en / Global Common Phrases / misc_1stClass and change the bottom line of the 2 to AUSPOST or Flat Rate, for example. Click Modify Language File at the bottom to save it. Repeat on misc_2ndClass if you have set a rate in this section. You will need to add the weight to the products if you haven't already done so. Lee
  12. leeofaccy

    Error 401

    Hi Did you set up the installation yourself? It looks like a permissions issue on your administrator account. If someone else installed the store and made you an administrator, they may have not given you all permissions i.e a super-user. If that is the case, you will have to get them to log in, click edit on your username and check the YES radio button next to Make Super User?. Hope that helps Lee
  13. Hi Mark On most (if not all), shipping modules, there is a drop-down box named TAX CLASS. Click the menu and change it to TAX EXEMPT. Lee
  14. Hi Jean There are some shipping modules, (Under the Modules tab in Admin Panel), that you can set up for international delivery e.g Per Category, Royal Mail & By Weight (Only use one though). You need to put in the country's ISO code (Found in Countries & Zones, under the Store Config tab if unsure of the ISO code), shipping rate and handling fee if you use one. Your customer can register on the site, which then stores their details, including shipping and invoice address', etc. found in View Customers, under the Customers tab. You will also have to edit any applicable tax rates as well. You will find these in Taxes under the Store Config tab in Admin Panel Menu. I hope that is of some help! Lee
  15. Hi To be honest, I'm not sure what has happened your end. I tried the code on a site I'm working on and it all worked fine. I then changed it back to the original, standard code, as that is how my client wants it. I have just reapplied the code once again and all is ok. I have even been into the database and all the dates are fine, and not all zero. The above code should just simply add the latest product to the top of the products list shown in any given category the customer clicks on, (With 'Display Newest First' option set to YES), regardless of price or name. Otherwise, if set to NO, the products will be listed with the lowest priced first, up the the highest. But if some products are the same price, they will then be sorted alphabetically, before going to the next higher price. Further Note: I think I have been mis-reading your post. Am I right in saying that you have previously done an upgrade, which has left the dates in the database, all zero? So, therefore you cannot sort them by date added, but want them sorting by Product ID (Which will auto increment)? Try this and let me know if it works. ## New! Product sorting by field $allowedSort = array('price', 'description', 'name', 'productCode', 'date_added'); if (isset($_GET['sort_by']) && in_array($_GET['sort_by'], $allowedSort)) { switch ($_GET['sort_order']) { case 'high': $orderType = 'DESC'; $orderText = '&uarr'; $sortIcon = 'bullet_arrow_up.gif'; break; case 'low': $orderType = 'ASC'; $orderText = '&darr'; $sortIcon = 'bullet_arrow_down.gif'; break; default: $orderType = 'ASC'; $sortIcon = 'bullet_arrow_down.gif'; } $orderSort = sprintf(' ORDER BY %s %s', $_GET['sort_by'], $orderType); } else { if ($config['cat_newest_first']) { $orderSort = sprintf(' ORDER BY productId DESC'); }else { if (!$config['cat_newest_first'] ) { $orderSort = sprintf('ORDER BY price ASC, name ASC'); } else { $orderSort = false; } } } Lee
  16. Thanks....was looking for something like that myself Lee
  17. This configuration will only put the newest product at the top and not sorted by Price or Name, only if you have Display newest products first set to YES. If set to NO it will order by Price low > high, then alphabetically A > Z ## New! Product sorting by field $allowedSort = array('price', 'description', 'name', 'productCode', 'date_added'); if (isset($_GET['sort_by']) && in_array($_GET['sort_by'], $allowedSort)) { switch ($_GET['sort_order']) { case 'high': $orderType = 'DESC'; $orderText = '&uarr'; $sortIcon = 'bullet_arrow_up.gif'; break; case 'low': $orderType = 'ASC'; $orderText = '&darr'; $sortIcon = 'bullet_arrow_down.gif'; break; default: $orderType = 'ASC'; $sortIcon = 'bullet_arrow_down.gif'; } $orderSort = sprintf(' ORDER BY %s %s', $_GET['sort_by'], $orderType); } else { if ($config['cat_newest_first']) { $orderSort = sprintf(' ORDER BY date_added DESC'); }else { if (!$config['cat_newest_first'] ) { $orderSort = sprintf('ORDER BY price ASC, name ASC'); } else { $orderSort = false; } } } Hope that helps Lee
  18. Hi You don't need to start editing any of the include or template files to change the text of the boxes etc. For example, if you want to change 'Shop By Category' to 'SHOP', In your Admin Panel, click Languages, under the Modules tab. > en (For English) > Front End Phrases > Boxes > Categories Navigation Box > shop_by_cat then change the text on the bottom row and click the Modify Language File button. Lee
  19. Have you changed anything on your htaccess file?
  20. Hi This should work. Just copy the code and paste it over yours on includes/content/viewCat.inc.php. ## New! Product sorting by field $allowedSort = array('price', 'description', 'name', 'productCode', 'date_added'); if (isset($_GET['sort_by']) && in_array($_GET['sort_by'], $allowedSort)) { switch ($_GET['sort_order']) { case 'high': $orderType = 'DESC'; $orderText = '&uarr'; $sortIcon = 'bullet_arrow_up.gif'; break; case 'low': $orderType = 'ASC'; $orderText = '&darr'; $sortIcon = 'bullet_arrow_down.gif'; break; default: $orderType = 'ASC'; $sortIcon = 'bullet_arrow_down.gif'; } $orderSort = sprintf(' ORDER BY %s %s', $_GET['sort_by'], $orderType); } else { if ($config['cat_newest_first']) { $orderSort = sprintf(' ORDER BY date_added DESC, price ASC, name ASC'); }else { if (!$config['cat_newest_first'] ) { $orderSort = sprintf('ORDER BY price ASC, name ASC'); } else { $orderSort = false; } } } In General Settings, in Admin Panel, you will need to set Display newest products first If enabled, the default category view will be to show the most recently added products first. To NO This will now sort your products regardless of whether you have just added them, with the Price sorted low>high, then in ascending alphabeltical order. This will NOT show the newest products first, which would be then sorted by Price low>high, then Alphabetically a>z, UNLESS you want it that way, then set the above to YES. Lee
  21. Hi Arames Have you got Force SSL enabled? It is just under Enable SSL. in your Admin Panel. If it is set to Yes, reset it to No. Lee
  22. Hi It looks like your Admin login hasn't been set to Super User. If someone else can login, get them to login, go to Administrators under the Admin Users tab in the menu and edit your settings to Super User or there is a Permissions link to set seperate permissions next to your username. Lee
  23. Hi Where would you like the products sorting automatically, in View Products in the Admin panel or on the website itself? Lee
×
×
  • Create New...