Jump to content

Chargin

Member
  • Posts

    171
  • Joined

  • Last visited

Posts posted by Chargin

  1. Can I have local shipping by subtotal & international by weight?

    Ive tried anabling both sections in shipping and setup USA as subtotal, and then enterered a few overseas countries for weight. It sorta works but now when the cart gets to displaying the shipping cost it becomes a dropdown list... with both shipping prices listed, one calculated on weight and the other on subtotal. Thats never going to work....

    Why wouldnt it just supply the one price based on the country I have chosen?

  2. I want to change all the entries for "showfeatured" to "0" so none of my products show up on the front page, and then Ill go in and manually change the ones I want, theres about 1500 items in there now so this is really the only way I can see to do it.

    So.. how do I do a query that would change the entire row to 0's??

  3. I want to be able to print out all my products from within the admin section. Ive tried doing this in landscape format and it nearly works.. goes off the edge of the page though.

    On another site I did I did a similar thing to the front end of the site by using a custom print.css and adding

    display:none;

    where needed.

    I pointed to that file via

    <link href="http://www.yourURL.com/sales/skins/YourSkin/styleSheets/print.css" type="text/css" rel="stylesheet" media="print">

    in my

    styleTemplates/global/index.tpl

    Any idea how I can do this for the admin section? I want to be able to hide the navigation so theres more room on the page to print "View products".

    I see theres a css file in admin/styles and I think I can edit it to remove what I want, but how to make a print.css that is only used when printing??

  4. Ive added a few extra fields via a mod. Ive been able to allow visitors searches to include these extra fields by editing a line in the viewcat.inc.php file, works well.

    But... in the admin section, when you select "view products" at the top of the page theres a search funtion, labeled "filter", currently it just searches the names and descriptions I think, Ive looked at the code and cant figure out how I would add an extra field to be search by this "Filter", anyone got any ideas?

  5. Can someone give a more detailed howto on this problem, Ive read this thread but am unsure what to do..

    I get

    Fatal error: Corrupted encoded data detected in /home/cookie/public_html/beta/admin_enc_zend.php on line 0

    Am I supposed to download some utility and rename exe to so... change a setting in filezilla... reload it all and start the install process again? Sorry got lost along the way :)

  6. Just found this in relation to adding to cart working but checkout showing an empty cart, looks easy enough, any problems occur when you empty the sessions table??

    "I don't know if it will help anyone else, but I went into PHPMyAdmin and deleted all sessions stored in the CubeCart_sessions table, then was able to do it...maybe the sessions were causing the problem?"

    Thread:

    http://www.cubecart.com/site/forums/index....c=25031&hl=

  7. I do have a subfolder for the cart, seems to be a common thing when theres problems, heres my htaccess just out of interest...

    redirect 301 /index.html http://www.lawnbowlsshop.com.au/cart/index.php

    # <rf> search engine friendly mod

    # 1) only used if you selected 'Apache directory lookback and ForceType supported' as your server configuration

    <Files shop>

    ForceType application/x-httpd-php

    </Files>

    # end 1)

    # 2) only used if you selected 'Apache RewriteRule supported' as your server configuration

    RewriteEngine On

    RewriteCond %{QUERY_STRING} (.+)

    RewriteRule cat_(.*).html index.php?act=viewCat&catId=$1&%1 [L]

    RewriteRule cat_(.*).html index.php?act=viewCat&catId=$1 [L]

    RewriteCond %{QUERY_STRING} (.+)

    RewriteRule prod_(.*).html index.php?act=viewProd&productId=$1&%1 [L]

    RewriteRule prod_(.*).html index.php?act=viewProd&productId=$1 [L]

    RewriteCond %{QUERY_STRING} (.+)

    RewriteRule info_(.*).html index.php?act=viewDoc&docId=$1&%1 [L]

    RewriteRule info_(.*).html index.php?act=viewDoc&docId=$1 [L]

    RewriteCond %{QUERY_STRING} (.+)

    RewriteRule tell_(.*).html index.php?act=taf&productId=$1&%1 [L]

    RewriteRule tell_(.*).html index.php?act=taf&productId=$1 [L]

    # end 2)

    # <rf> end mod

  8. Just to add, are there 2 versions of this problem? One where adding to cart works but at checkout cart is empty, and the other where you cant actually add items to the cart?

    Perhaps, but the point of this thread is to come up with a solution for the problem where products can be added to the cart successfully, but then the cart appears empty upon checkout.

    Ahhh, so is there another thread about not being able to add items to the cart?

    Just to explain, the fix I mentioned above helped the store I was working on with the problem of not being able to "add to cart"...

  9. Well one of my problems was links from search engines made the add to cart system not work, doing the following fixed this problem, so as the original post mentioned if theres any problem with this method can someone let us know.

    Here's what I did to correct the problem:

    in sessionStart.inc.php:

    @ini_set("session.cookie_path",$sessionDomain);

    Replace $sessionDomain with your cubecart directory ("/" or "/shop" etc). Mine looks like this now:

    @ini_set("session.cookie_path","/shop");

    Or if your cart is at the index of your site then:

    @ini_set("session.cookie_path","/");

    in session.inc.php:

    // set cookie to extend expire time meaning if the visitor visits regularly they stay logged in

    setcookie("ccUser", base64_encode($sessId),time()+$config['sqlSessionExpiry'], $sessionDomain);

    Again, replace $sessionDomain with the same "/" or "/shop" whatever directory your cubecart is in.

    Delete your browser cookies and test your cart again.

  10. I came to the forums looking for help with this same problem and what do you know... this thread is at the top!

    I have been struggling with this problem for some time now. Click add to cart and shopping cart updates with 0.00 and no items added...

    I have my store on a subfolder and originally had a flash intro page which I have since removed as the links in the flash were defiantely causing the problem, I have put the flash up on a temporary page on a diferent domain now for testing, if you go here

    http://artistrywebdesign.com.au/bowls/

    and click on any of the links in the flash area, adding an item to cart will not work at all...

    But thats ok, Ive removed it from the front page and have edited the htaccess file to redirect to the subfolder that the cart is in. I can live with this as a temporary fix.

    But Im still getting complaints from this client that customers arent able to add items to their cart, and they do have cookies enabled.. Ive been over the entire site several times and quite fed up really, I do have a lot of mods and my next step is to do a new install and just add the skin only. This has taken, and will take, many hours of extra work...

    I understand the devs cant support mods made to the cart but the main reason I use CC is because I can mod it...

    Just to add, are there 2 versions of this problem? One where adding to cart works but at checkout cart is empty, and the other where you cant actually add items to the cart?

  11. The site in question has just started doing this, Ive uploaded the entire admin and includes folders from a stock 3.012 and that didnt fix it, theres some sort of session error??

    Clicking upload new image opens a new window asking for admin password and username, entering these details just logs you in again but still doesnt allow uploading images.

    I have several mods on this store but as I said, Ive uploaded unedited admin files which didnt help.

    Any ideas?

  12. Yeah I set it up to go straight to cart.

    Try clearing your cookies and open a fresh browser. I can repeat this error and have had many complaints so its definately happening. perhaps you had already recently been to another CC site and that allowed it to work for you. As I mentioned its only the first add to cart that doent work.

  13. I have created a cart with an entry page (at request of client) Ive just changed the whole site oevr to CC but now that entry page causes an error when adding things to the cart, ie they dont get added. Well the first one doesnt, after that it all works. Ive taken that page down and put it on another domain for testing here

    http://artistrywebdesign.com.au/bowls/

    Go to that page and click any of the links, then try to add to cart. the next time you go in it works fine. I heard it had something to do with not having www in a main CC file, I did add the www to the carts domain in CC ( cant remember the file) but that didnt fix it. Any help appreciated.

×
×
  • Create New...