Jump to content

disco_ii_disco

Member
  • Posts

    115
  • Joined

  • Last visited

Everything posted by disco_ii_disco

  1. It's because there is not a description for one of your products. I got around this by adding: ." Click for more info."; to the end of line 55 on admin/sources/products/export.inc.php This prevents empty descriptions.
  2. Also GoogleBase didn't like the fact that some descriptions were blank. I think I've managed to get around this by adding: ." Click for more info." to the end of line 55 (or 57 if you are using SEF links): $googleBaseContent .= $glob['storeURL']."/index.php?_a=viewProd&productId=".$results[$i]['productId']."\t".$name."\t".$desc." Click for more info.";
  3. Just fixed it! Open "includes/viewCat.in.php" Go to about line 107 and comment out the following line: $orderSort = sprintf(' ORDER BY name ASC'); It has been fixed in CC 4.2.2 but I can't run that on my server. A list of other changes are here: http://forums.cubecart.com/index.php?act=a...ost&id=1276 Cheers, Chris
  4. I'm trying to fix this as well. Had it sorted it CC3. The code in CC4 is proving a lot harder for me to figure out. If I crack it soon I'll let you know. I'm struggling with so many things. Cheers. Chris
  5. Yep just what happened to me aswell. Over 50 e-mails sent out. I had some replies from some quite worried customers. Some of the pending orders were from several years ago so they could not remember their purchase. Definitely something to be changed in future versions. Cheers, Chris
  6. I built a very simple sitemap for v3 that worked well: <?php /* This is a sitemap mod written by Chris Ashwell 2008 */ include_once("includes/ini.inc.php"); // INCLUDE CORE VARIABLES & FUNCTIONS include_once("includes/global.inc.php"); // initiate db class include_once("classes/db.inc.php"); $db = new db(); // query database $query = "SELECT productId, productCode, quantity, name, description, image, noImages, price, popularity, sale_price, stock_level, useStockLevel, digital, digitalDir, prodWeight, cat_name, ".$glob['dbprefix']."CubeCart_inventory.cat_id, cat_father_id, cat_image, per_ship, item_ship, item_int_ship, per_int_ship, noProducts FROM ".$glob['dbprefix']."CubeCart_inventory INNER JOIN ".$glob['dbprefix']."CubeCart_category ON ".$glob['dbprefix']."CubeCart_inventory.cat_id = ".$glob['dbprefix']."CubeCart_category.cat_id ORDER BY cat_name, name ASC;"; $result=mysql_query($query); $meta['siteTitle'] = "Caravan and Camping equipment at The Caravan Accessory Shop"; $meta['metaDescription'] = "Sitemap"; print "<html><head><title>Caravan and Camping equipment at The Caravan Accessory Shop</title><link href='skins/Chris Killer/styleSheets/style.css' rel='stylesheet' type='text/css' /></head><body><h1>Caravan and Camping Equipment</h1><h2>Caravan Accessory Shop Sitemap</h2><ul>"; $header =""; while ($row=mysql_fetch_array($result)){ extract($row); if ($header==$cat_name){ echo "<li><a href='index.php?act=viewProd&productId=$productId'>$name</a></li>"; $header=$cat_name; } else { echo "<h2>$cat_name</h2>"; echo "<li><a href='index.php?act=viewProd&productId=$productId'>$name</a></li>"; $header=$cat_name; } } print "</ul><p><a href='index.php'>&lt;&lt; Back to Home</a></body></html>"; ?> If anyone could help me adapt it for V4 that would be great.
  7. Brilliant - just what I needed! Time to tackle my next issue now - the sitemap. Cheers, Chris
  8. Thanks for the fast reply. Still think it was a bit of an unnecessary change though. I did put the SEO links on for a start but then realised that if I ever move a product to a different category or re-structure the categories I will be facing the same problem. I've always appeared at the top of Google for my most popular products so hope I've not messed things up by upgrading. Incorrect links are being re-directed to the home page so I don't suppose that is a complete disaster. Cheers, Chris
  9. Hi, Just upgraded to V4. Instead of http://www.caravanaccessoryshop.co.uk/inde...p;productId=268 product links are now: http://www.caravanaccessoryshop.co.uk/inde...p;productId=268 This means that all the links I have to products from other websites are now incorrect and the search engines will be pointing to incorrect pages until they re-index them. I'm going to lose out on a lot of business over the weekend because of this. Is there anyway of getting the links back to how they were? Cheers, Chris
  10. Hi, I've just had a problem with a customer's payment going through in US Dollars instead of UK sterling too. It has only happened since updating my website last night. Will try the patch above which will hopefullly fix the problem. Chris
  11. Hi, My shipping prices are calculated on weight using the 'by weight mod' v3.7. I currently display the prices in a box on the right of my homepage: www.caravanaccessoryshop.co.uk. What I would like to do now is include the variables from the mod in this box, so that it updates each time I change the shipping prices. Hope this make sense and that someone can point me in the right direction. Cheers, Chris
  12. I was interested to read your post about the new shop. Have you been able to undercut other online retailers? Surely they have such huge buying power that it is difficult to compete. Most of them offer free shipping now anyway (eg play.com, cdwow and amazon). Make sure that you're not losing money on the shop either. There are a lot of costs involved: eg. webhosting, domain names, paypal fees, postage, packaging, not to mention a large amount of time. I only make a small profit by selling at full retail prices! All the best. Chris
  13. My cart turned out to be hacked again and a host of suspicious files were all over my server. All have been removed, site updated, passwords changed and I look forward to the next time now!
  14. Did as you suggested Chris and all is working fine now! The page inititally wasn't loading because the redirect I had set up to my other site was typed incorrectly. Why my site was being redirected to CubeCart remains a mystery though!
  15. I now have the same problem. Can anyone help?! www.caravanaccessoryshop.co.uk
  16. I can't believe all the problems I am having with CubeCart! My site was hacked so I upgraded to 3.0.8. My site was hacked again so I upgraded to 3.0.9 and changed all my passwords. Now my site is being redirected to CubeCart's purchase a license page. What is that all about?! www.caravanaccessoryshop.co.uk
  17. Hi, Is no one able to help with this? I really don't know what more I can do to fix it. Cheers, Chris
  18. Ok, will download the update again to fix the categories. Can anyone help with my cart though? Cheers, Chris
  19. First of all sorry for listing in two categories but I think more peopl read the posts in this category. Hi all, Have finally got round to upgrading to v3.0.8 after I realised people were searching for me on Google with the term "powered by CubeCart 3.0.6" (!). Anyway, have overwritten all files and now the cart is not working from Step 3 onwards: www.caravanaccessoryshop.co.uk At step 3, instead of the despatch address automatically showing as the invoice address, each field has an "A" in it and the country shows as Afghanistan! When you click continue I get the following error message: Warning: Invalid argument supplied for foreach() in /home/access/public_html/includes/content/cart.inc.php on line 123 Warning: Cannot modify header information - headers already sent by (output started at /home/access/public_html/includes/content/cart.inc.php:123) in /home/access/public_html/includes/content/cart.inc.php on line 101 Another problem I having is that all products are being shown in all categories! i.e all 400 products are being shown in every category. Can anyone give me a quick fix for this. Thanks for any help anyone can provide. Cheers, Chris
  20. Have already tried uploading cart.inc again. Is there anything else I can do? 100kg for £5.20 + handling fee of 75p. I figured if someone's order weighs that amount they will have spent at least a couple of thousand pounds so I'm sure I can afford to bear the carriage costs.
  21. Hi all, Have finally got round to upgrading to v3.0.8 after I realised people were searching for me on Google with the term "powered by CubeCart 3.0.6" (!). Anyway, have overwritten all files and now the cart is not working from Step 3 onwards: www.caravanaccessoryshop.co.uk At step 3, instead of the despatch address automatically showing as the invoice address, each field has an "A" in it and the country shows as Afghanistan! When you click continue I get the following error message: Warning: Invalid argument supplied for foreach() in /home/access/public_html/includes/content/cart.inc.php on line 123 Warning: Cannot modify header information - headers already sent by (output started at /home/access/public_html/includes/content/cart.inc.php:123) in /home/access/public_html/includes/content/cart.inc.php on line 101 Can anyone shed any light on this. Cheers, Chris
  22. Cheers evilhomer. Just spotted that the javascript folder had not been uploaded! Hopefully that will fix it. What other security measures should I take to make sure I don't get hacked again. I have updated the admin/filemanager/upload.php file already and changed permissions on some files. Can anyone provide a list of the correct file permissions for the files that are changed at installation stage. Cheers.
  23. Hi all. My site was hacked yesterday. Probably a good thing as I will now be aware that it is important to update with patches etc and restore permissions after editing files. I have restored most of the site to how it used to be but the shopping cart is now not working. www.caravanaccessoryshop.co.uk If anyone could help me out I would be grateful. Cheers, Chris
  24. Hi. Thanks for your replies. Considering there are 385 products listed on http://www.ernestgbrooks.co.uk/ Google has only managed to index 21 pages of the website so not a huge success but at least its better than what I have achieved. I guess I will give the SEO mod a go. Any comments on this from anyone else.
  25. Hi all, Having a bit of trouble getting Google to crawl my website (built with cubeCart v3): www.caravanaccessoryshop.co.uk. So far only the home page has been indexed: site:www.caravanaccessoryshop.co.uk I have uploaded a site map to the homepage but I don't think Google likes the dynamic pages or the page addresses. Has anybody out there had any success with the search engines? Please don't ask me to try the SEO mod unless anybody has actually had any success with it! Cheers, Chris
×
×
  • Create New...