Jump to content

Spechal

Member
  • Posts

    143
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Spechal's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Is there a module/plugin cache? I seem to be getting the same page over and over despite changing the underlying text in the code. I deleted the files in the cache directory to no avail. I am not running APC or anything and nginx has sendfile set to off. Also, any docs on module development (other than the hooks article) or do we go with trial and error based off other modules? Thanks!
  2. I used CC back in the v3 days and it was great for what I needed. These days, there is no shipping out of the box. You have to figure out how to get it all working. On top of that, nothing really works together well or fits nicely within what the titles describe. I don't mean to rant, more so offer assistance if interested. I am going to use a real life scenario, if it can be solved by a combination of existing modules, I retract everything I've said sans the figuring out how to setup shipping part. Let's say I want to sell coins. Raw and graded coins. I also don't trust anyone but USPS. To save everyone money, I will send US Priority and Flat Rate boxes. For security, if the purchase if over X dollars, then registered mail is required. Module breakdown: Per Item - Won't work, but promising. If someone buys 3 x graded coins, it will fit into a smaller package and go US Priority. If they order 4 to 8, Small Flat Rate, etc... If they order raw coins, the space required is much smaller and I can fit probably 10 into a smaller package. If shipping could be broken into specifying a price at an item by item level, it may work. By Weight - Won't work. Raw coins weight almost nothing but take up space within the package. Same issue as above. By Price - I may not fully understand this, but it didn't seem to work when testing the aforementioned scenario. All In One - This is the closest needed and I am thinking about extending it. What I really need is a shipping tab on the product page to specify overrides for global defaults. It can be abstracted out to a set of shipping options or case size options (maybe just a lookup table) and a builder tool. Something like some words and drop downs or text autofills ... Product -> Shipping Item Shipping Cost: $XX Items that fit in case: X Special Requirements: - Signature Required (Registered Mail) Then I test my scenario: Client purchases 10 raw coins and 3 graded coins. Raw coins are set a 10 per case and shipping at $2.95 for US Priority Mail. Graded coins have two per case. Which bumps it to the next size, Small Flat Rate. Success? Yes, but how did it know that 10 raw and 2 graded fit? This would introduce a dimensions aspect, which doesn't appear to exist. Why? Client purchases 21 raw coins. We have raw coins at 10 per case so we need 3 cases. That bumps it up to Medium. Success? Yes, but how did it know? The system would need to know how many of each item type can fit in each case size OR case sizes could be introduced in which they know how many of which item type can fit into a case. However, we don't have product dimension support nor a shipping module with a concept of shipping based on dimensions or cases that are multiples of the same size (i.e. 1 cubic foot, 2 cubic feet, etc...). Production options didn't seem helpful either, but again I may not be using them correctly. I did't see them get into the product/shipping level either. I don't see much that does get to the product level in regard to shipping. This could all be just too specific to be and either needs abstracted out a bit more or I would just have to run with it for my own use ... it also turned into a brain dump. Again, I don't mean to complain and do nothing about it. I would like to help. I am not the best but am PHP ZCE certified and have been doing this for like 15 years. Thoughts appreciated.
  3. Thanks anyways, but I'll write my own. :homestar:
  4. Do we have to hack CC to get real per item shipping again? i.e. I want Router A to be $4 shipping and Router B to be $6. Is it possible?
  5. Look at your database. If you see tables like this: "store_inventory, store_config" then you DO NOT HAVE A PREFIX. If you see something like: "cubecartstore_inventory, cubecartstore_config" then YOUR PREFIX IS cubecart Your prefix is all characters coming before "store_"
  6. Snakeking Line 436 should be: //select highest per_ship or per_int_ship and multiply item_ship or item_int_ship You have select highest per_ship or per_int_ship and multiply item_ship or item_int_ship
  7. File Name :: 1 day calendar Author :: Spechal Category :: Minor Description :: This mod was done after the javascript calendar mod. This one uses FAR less code (about 70 lines less). It also does NOT use javascript. It is simple to install and should take you about 3 minutes.<br><br>Enjoy.<br><br>*updated to reflect full month name and date extentions* *and day without leading zeros* Updated Sat, Apr 2 2005 8:57 am View File
  8. Should be in the admin folder. If you dont have one, here is the core file. <?php /*************************************************************************** * File Info: admin/image.php * Purpose: Display Image * Updated: 31/07/2003 **************************************************************************** * Developer: Alistar Brookbanks (Brooky.com) * Copyright: (C)2003 http://www.brooky.com * Copyright: (C)2003 http://www.cubecart.com * This program is not "free" software and restrictions apply! * Further Info: http://www.cubecart.com/license.php * Contact [email protected] if any conditions are not clear. * * Licensees holding valid "CubeCart Licence Number" may edit * the (powered by CubeCart) from browser title and "Powered by CubeCart" * and "(c) Brooky.com" from the web page footer. * * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING * THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE. This and all others in the download package can only be * redistributed with written permission from Alistair Brookbanks! * * The "CubeCart License" is available to purchase at * https://secure.cubecart.com/ * For pricing please contact us via e-mail at [email protected] ***************************************************************************/ include("config.php"); include("settings.inc.php");?> <html> <head> <title> <? echo"$image"; ?></title> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'> <link rel='stylesheet' href='style.css' type='text/css'> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <? echo "<table align='center' valign=\"top\" width='100%' height='100%'><tr><td align='center' valign='middle'><img src='../images/$image'><p>$image</p><p><a href = \"javascript:window.close()\">$la_window_close</a></p></td></tr></table> "; ?> </body> <html>
  9. http://www.cubecart.com/site/forums/index.php?showtopic=2495
  10. That error means your trying to divide something that is either zero or non-exsistant. In your case, non-exsistant. Please verify that you put the lines in the correct places, because your not placing the added code to the line just before $total_ship.
  11. I assume you have the free_shipping mod installed. I assume that by the error you got, refer the the first post of this page, made by me, that says: Do that.
  12. It would apply the cart no matter the payment gateway. You would need a custom mod done, I dont think anyone has written one of this kinda anyways.
  13. Glad you got it fixed, but did you see my post at the top of page 3 in this thread? It says to put it directly before the code, like you just did.
×
×
  • Create New...