Jump to content


  • Posts

  • Joined

  • Last visited

Profile Information

  • Location
    New York

goober999's Achievements


Newbie (1/14)



  1. it's a CubeCart v5.2.0 bug and I am sure a fix is coming soon. It's not something they can delay. For those who already upgraded and want a "fix" now. Here it is. Edit file: /classes/cubecart.class.php on line 2414 you'll find: if (isset($_POST['register']) && $_POST['register']==1) { change it to: if (isset($_POST['register']) && $_POST['register']=="Register") { Thanks /Goober
  2. bsmither is right, you can enhance/change any text string in any language. well, he is 99.44% right. The other 0.66% percent where you can't do that, is exactly in this location, the shipping dropdown. This text string comes from the actual name of the shipping method, and derived from the folder name? a bit weird I must admit. So if you really wanted to change this text, you would need to "hard code" it into the the template. Once hard coded, you should only have 1 shipping method enabled. If you're willing to to do that, let me know, i'll post instruction.
  3. Good Lord, you guys really don't get it... I appreciate you all trying to help but all you're doing is muddying up the water. You really need to understand CC v5 code and templates in order to answer this question. Like I said in my original response, $DATA.shipping is not a numeric value, it is a string. It is a formatted string that includes the currency symbol. You cannot do a mathematical compare on a string! The code should be {if ({$DATA.shipping}) == "0.00€" }(A Calcular) {/if}{$DATA.shipping} And because it is already formatted by the time it gets to the template, the above will only work for the active currency. Additional if else statements can be added to account for other currency supported by the shop Thanks /Goober
  4. $DATA.shipping is not numeric, it is a string. Try testing for "0.00€"
  5. PoolPartsOnline, are you the same as poolpartsonline.com? that would be funny, 'cause i am a customer, lol.
  6. the navigation uses element.navigation_tree.php template. if you were to "mess" with the categories, you would do it there.
  7. In this section you see a text box. This text box is an auto-search box and will start returning search results after you have type in 3 characters. Using this feature you can ass a coupon to products only, not categories.
  8. Hi, The one thing you should do is figure out what the error is. Whenever CC v5 goes to a blank page, that means that there is a PHP coding error or code failure. CC5 goes out of its way to hide these errors. To see the error, get a copy of classes/debug.class.php from v5.0.5 and copy it into yout 5.0.7 folder. The files are exactly the same with the exception of one small block of code that allowed for these errors to be seen. This block of code is missing from 5.0.7 file. Edit this file and take the comment blocks out see below and save the file. /* if (isset($_GET['SHOW_ALL'])) { //Remove to see errors ini_set('display_errors', true); } */ Once you've done that, add SHOW_ALL on the query string when you run the export and you will see all of the PHP errors. See what the error is, and fix it. Good luck! /Goober
  9. CC v5 is built with extensibility in mind. There is no need whatsoever to modify core files. All mods, er the new term is Plugins, are written outside of core files and are upgrade proof. These plugins use a CC v5 feature called hooks. Learn them, love them, live them. They rock! Thanks /Goober
  10. When adding new categories, their default status is disabled. Check to see if they are disabled and then enable them if needed. /Goober
  11. Hi, The image and thumbnail sizing as well as quality is controlled via config.xml file found in the root folder of the skin. Thanks /Goober
  12. Try this one http://www.cubecartforums.org/index.php?showtopic=15524
  13. Yep, look over at www.cubecartforums.org, there is a plugin available that may fit your needs. thanks
  14. you can't really randomize from a limited number of products. If you wanted to randomize from the entire catalog than that would be easy. Thats what I would like to happen, i.e. in the Latest products box, I would like it to pick at random any Products from my catalog but chance them at random any time the page is viewed or refreshed. Any ideas on how i can do this? I done it in CC4, but can't figure it out in CC5 try this Edit file: classes/cubecart.class.php Find this line $latestProducts = $GLOBALS['db']->select('CubeCart_inventory', false, array('status' => '1', 'featured' => '1'), array('date_added' => 'DESC', 'product_id' => 'DESC'), (int)$GLOBALS['config']->get('config', 'catalogue_latest_products_count')); change it to this line $latestProducts = $GLOBALS['db']->select('CubeCart_inventory', false, false, 'RAND()', (int)$GLOBALS['config']->get('config', 'catalogue_latest_products_count')); Enjoy /Goober
  15. you can't really randomize from a limited number of products. If you wanted to randomize from the entire catalog than that would be easy.
  • Create New...