Jump to content

roban

Member
  • Posts

    3,238
  • Joined

  • Last visited

Everything posted by roban

  1. In your editor, click on the 'Source' button and add your code.
  2. Edit includes/content/viewCat.inc.php, around line 102. Change: if(($ucSearchTerm!=="AND") || ($ucSearchTerm!=="OR")){ To: if(($ucSearchTerm!=="AND") && ($ucSearchTerm!=="OR")){
  3. In the includes/content/index.inc.php find this line: for($i=0;$i<count($latestProducts);$i++){ Replace with this code $across=4; $index->assign("TW",100/$across); for($i=0;$i<count($latestProducts);$i++){ if (!(($i+1) % $across)) { $index->assign("TXT_TR","</tr><tr>"); } else { $index->assign("TXT_TR",""); } in skins/{insert skin name}/styleTemplates/content/index.tpl replace all code between <!-- BEGIN: repeat_prods --> and CODE <!-- END: repeat_prods --> including those two lines above with this code CODE <table width="100%" border="0"><tr> <!-- BEGIN: repeat_prods --> <td width="{TW}%"> <div style="float: center; text-align: center;"> <a href="index.php?act=viewProd&productId={VAL_PRODUCT_ID}"><img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" /></a> <br /> <a href="index.php?act=viewProd&productId={VAL_PRODUCT_ID}" class="txtDefault">{VAL_PRODUCT_NAME}</a> <br /> {TXT_PRICE} <span class="txtSale">{TXT_SALE_PRICE}</span> </div> </td> {TXT_TR} <!-- END: repeat_prods --> </tr></table> The $across variable is used to specify number products across.
  4. OK, cheers, this forums full of stingy grumpy people then? And how many folks have you helped lately? Most of us have been unselfishly helping people here for years. You are asking too much for nothing.
  5. roban

    SSL problems

    what settings are you entering? Is this a dedicated or shared certificate? What is the URL of your store?
  6. There is a Quick Edit Product Options mod you might find at cubecart.org
  7. language/en/home.inc Change permissions to 777, edit then change permissions back to 644 or 755
  8. roban

    Logo

    You're not missing a thing
  9. In layout.css you can add a value of background-color: #your color code; to #subSurround { padding-left: 14px
  10. Make sure in your includes/global.inc file that the path to your store includes the 'www.'
  11. Look in classes/gd.inc and edit the thumb size
  12. Move it to the root directory and edit your includes/global.inc file to reflect the new paths.
  13. Usually this error occurs when there is a space at the beginning or end of a file. Look at the files in the error and if there is a space, eliminate it.
  14. From Bill's instructions. Did you do this? This step must be taken first for both standard and manual mod installation. We need to add a field to the CubeCart_category table. That can be done simply by entering the following line into the SQL box in PHPMyAdmin: ------------------------------------------------------------------------------------------- ALTER TABLE CubeCart_category ADD disp_order INT(16) NOT NULL DEFAULT 9999
  15. I'm not sure this is what you want, but this will make your store a catalogue so that when someone clicks on the new Catalogue link it will display every product in your store. //////////////////////////////////////////////////////////////////////////////////////////////////////////// // Step 1 : Open includes/content/viewCat.inc.php /////////////////////////////////////////////////////////////////////////////////////////////////////////// Find : } elseif($_GET['catId']=="saleItems" && $config['saleMode']>0) { $productListQuery = "SELECT ".$glob['dbprefix']."CubeCart_cats_idx.cat_id, ".$glob['dbprefix']."CubeCart_cats_idx.productId, productCode, quantity, description, image, price, name, popularity, sale_price, stock_level, useStockLevel FROM ".$glob['dbprefix']."CubeCart_cats_idx INNER JOIN ".$glob['dbprefix']."CubeCart_inventory ON ".$glob['dbprefix']."CubeCart_cats_idx.productId = ".$glob['dbprefix']."CubeCart_inventory.productId WHERE sale_price > 0 GROUP BY ".$glob['dbprefix']."CubeCart_inventory.productId"; After Add: } elseif($_GET['catId']=="catalogue") { $productListQuery = "SELECT * FROM ".$glob['dbprefix']."CubeCart_inventory"; $view_cat->assign("LANG_IMAGE",$lang['front']['viewCat']['']); Find : if(file_exists($GLOBALS['rootDir']."/images/uploads/thumbs/thumb_".$productResults[$i]['image'])){ $view_cat->assign("SRC_PROD_THUMB",$GLOBALS['rootRel']."images/uploads/thumbs/thumb_".$productResults[$i]['image']); } else { $view_cat->assign("SRC_PROD_THUMB",$GLOBALS['rootRel']."skins/".$config['skinDir']."/styleImages/thumb_nophoto.gif"); } Replace with : if(!$_GET['catId']=="catalogue"){ if(file_exists($GLOBALS['rootDir']."/images/uploads/thumbs/thumb_".$productResults[$i]['image'])){ $view_cat->assign("SRC_PROD_THUMB",$GLOBALS['rootRel']."images/uploads/thumbs/thumb_".$productResults[$i]['image']); } else { $view_cat->assign("SRC_PROD_THUMB",$GLOBALS['rootRel']."skins/".$config['skinDir']."/styleImages/thumb_nophoto.gif"); } } Find : $view_cat->assign("LANG_IMAGE",$lang['front']['viewCat']['image']); Replace with : if(!$_GET['catId']=="catalogue"){ $view_cat->assign("LANG_IMAGE",$lang['front']['viewCat']['image']); } //////////////////////////////////////////////////////////////////////////////////////////////////////////// // Step 2 : Open skins/YOURSKIN/styleTemplates/boxes/categories.tpl /////////////////////////////////////////////////////////////////////////////////////////////////////////// Find : <li class="bullet"><a href="index.php" class="txtDefault">{LANG_HOME}</a></li> After Add : <li class="bullet"><a href="index.php?act=viewCat&catId=catalogue" class="txtDefault">Catalogue</a></li>
  16. roban

    backup database

    You can simply move your files to the root directory and edit your includes global.inc file to update the new path to your store. As for backing up from phpMyAdmin, it's quite simple. Open your database and click on the 'Export' button at the top of the main window. make sure you select all of your tables, then scroll down a bit and choose 'save as file'. Leave the default as SQL, then click 'Go'. It will download your database. If you ever need to restore your database, you can open your database, select all the tables and 'Drop' them which will empty your database. You can then import your backed up database using the sql command from phpMyAdmin.
  17. Do a Google search for your keywords and contact the web masters of the sites asking for a link exchange. You should have a links page on your site with links to their sites before you ask and let them know that you've linked to them first. Of course you'll want to make sure that they have a link page. Then you'll have to audit your requests and delete the sites that do not link back. There are programs that can help with this task like Aurelis but they are expensive and you can do it yourself. There is no visitor to sales ratio that I know of but you can use 3% as a general figure. ROI (return on investment) is a figure that most SEO's use so if you are breaking even on your investment you might say that you are doing well and go up from there.
  18. There is a site map mod at cubecart.org, or there used to be one. If it's not there, contact me and I'll set you on the right track.
  19. What does your includes/global.inc file say? Have you provided new paths?
  20. Do a search please. This was covered dozens of times.
  21. Put the following code into index.tpl where you want your box to appear. <div class="boxTitleRight">Sponsored Links</div> <div class="boxContentLeft"> Put your links here <border="0" > </div> <div class="boxFootRight"> </div>
  22. Tricks and gimmicks are not what selling is all about. Lose the favicon.
×
×
  • Create New...