|
Community Stats
- Group Members
- Active Posts 21 ( per day)
- Profile Views 3274
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Male
-
Location
Silicon Valley
-
Interests
Engineering
Contact Information
1
Neutral
Friends
profs77 hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: Sqlite cache file size vs. server response time
09 August 2013 - 04:22 PM
The number of directories or files in a single directory is important. Thats why the images are stored in different folders 1, 2, 3, 4, etc with a maximum of 1000 or whatever you set it to. With so many files/folders in one directory the index becomes very large.
In Topic: Trying to wrap my head around how CS-Cart calculates shipping costs
02 May 2013 - 07:36 PM
Edit any product. Then click on the shipping properties tab (I don't think the tab shows if you are trying to add a new product, you have to first add it). Add dimensions to this box like 9, 6, 12. Minimum items in the box should almost always be 0. And maximum I put was 5. If someone adds 6 items to the cart, it would put 5 in one box and 1 in another. Shipping would get charged as two packages.
If someone orders two items each with a minimum of 0 items per box and 5 items for the max, it would get shipped in two separate packages, which is stupid. I'm trying to modify the relevant code. The relevant function is fn_get_products_packages in /core/fn.cart.php . Insurance, COD, I'm not sure about. Sounds like the code has to be modified for this to work out.
If someone orders two items each with a minimum of 0 items per box and 5 items for the max, it would get shipped in two separate packages, which is stupid. I'm trying to modify the relevant code. The relevant function is fn_get_products_packages in /core/fn.cart.php . Insurance, COD, I'm not sure about. Sounds like the code has to be modified for this to work out.
In Topic: /var/cache/templates/css ?
26 March 2013 - 09:56 PM
I tried to use this configuration method to see if the css would turn out better, and I had a bad experience with it as well, you're better off just minifying and compressing the stuff manually.
In Topic: /var/cache/templates/css ?
26 March 2013 - 08:43 PM
In your cs cart root directory look for the following code in config.local.php :
If join_css is true, then your css files are probably minified and compressed into a that /var/cache/templates/css folder.
// Tweaks /* $config['tweaks'] = array ( 'js_compression' => false, // enables compession to reduce size of javascript files 'check_templates' => true, // disables templates checking to improve template engine speed 'inline_compilation' => true, // compiles nested templates in one file 'anti_csrf' => false, // protect forms from CSRF attacks 'disable_block_cache' => false, // used to disable block cache 'join_css' => false, // is used to unite css files into one file 'allow_php_in_templates' => false, // Allow to use {php} tags in templates 'disable_localizations' => true, // Disable Localizations functionality 'disable_google_base' => true, //Disable obsolete google base functionality );
If join_css is true, then your css files are probably minified and compressed into a that /var/cache/templates/css folder.
In Topic: Add Product to Cart that doesn't Exist?
01 March 2013 - 12:58 AM
I am working on that code that would add it on the fly as a hidden product, that should be a working method for sure. The reason why I am doing this is because our search engine within the site is connecting to a broker platform feed. Imagine like an ebay. We don't want the products added in with our normal inventory and mixed up with the rest. If someone searches for a product on our search, and the broker platform has it, they can make the purchase and we can make the deal like the middleman.
- CS-Cart Community Forums
- > Viewing Profile: Posts: profs77