Jump to content

Christopher Short

Member
  • Posts

    432
  • Joined

  • Last visited

Posts posted by Christopher Short

  1. Is there a way to remove sub category images? www.csrocketry.com is my site. If you select rocket motors for instance, i want to keep the images on thatg page, but then if you select aerotech, I would like to remove those images and down throught the next pages. I would like tis for my entire site.

     

     

  2. I see only two places where this could come from -- Amazon hooks: class.cubecart.basket.php and class.cubecart.construct.confirm.php -- where errors are caught.

     

    And what is the exact version of CubeCart you are using? (Always mention this, or, better, include it in your forum sig.)

     

    He said he clicked amazon checkout. I added version to my signature.

  3. Customer emailed me the following error:

     

    The following errors were detected:

    • Error: InvalidParameterValue

    What causes this? He shows up in the admin order this time, but it lists him as a ghost even though I followed the code to change that force login or account creation. I recieved payment as well.

     

    He now says it was when he clicked pay with amazon. Ill just turn that off for now. Still any ideas to fix it?

  4.  

    store/admin.php?_g=products&cat_id=27&sort%5Bupdated%5D=DESC&char=G

     

    The Any link should not have either a page or char key in the querystring. Your Any link still has char.

     

    No change by enabling it.

     

    Actually, I wanted you to disable it. Regardless, I think we found the true symptom.

     

    In the file /admin/sources/products.index.inc.php, near lines 1230-1232, verify that your code looks exactly like this:

            if ($int) $char_list_array = array_merge(array('0' => '#'),$char_list_array);
            $char_link = currentPage(array('char','page'));
            $GLOBALS['smarty']->assign('SORT_CHARS_RESET_LINK', $char_link);
     

     

    Diabled again. Code is exact.

  5. Please tell us what the URL that is the Any link looks like (only the parts after the admin.php part).

     

    It should look like: ?_g=products&node=index&sort[updated]=DESC

     

    Please make this change to the Store Settings, Advanced tab, Enable Caching: Disabled.

     

    Do the results of clicking Any change from before?

     

    Please let us know the exact version of CubeCart you are running.

     

    Please tell us what the URL that is the Any link looks like (only the parts after the admin.php part).

     

    It should look like: ?_g=products&node=index&sort[updated]=DESC

     

    Please make this change to the Store Settings, Advanced tab, Enable Caching: Disabled.

     

    Do the results of clicking Any change from before?

     

    Please let us know the exact version of CubeCart you are running.

    store/admin.php?_g=products&cat_id=27&sort%5Bupdated%5D=DESC&char=G

     

    No change by enabling it.

     

    I have the current v5.

  6. Welcome felsted1979! Glad to see you made it to the forums.

     

    In Cubecart's admin section (hopefully you are running CC521 or later), click on Manage Hooks, Code Snippets tab. We will create a snippet that will survive (hopefully) any CubeCart upgrade.

     

    Enable the snippet. Give this snippet a unique ID, say, [email protected]. Make sure this is the lowest priority snippet so that it gets executed last: 999. The description: Kills Featured/Random Product Box. The trigger will be: class.gui.display. The snippet code is:

    {php}
      $GLOBALS['smarty']->clearAssigned('RANDOM_PROD');
    {/php}

    Enter a version and author. Click Save.

     

    Test and report back.

    When I use this, it gives me a blank page for my site. If I disable it, the site is back. Ideas?

  7. According to your first post:

    1. Filter by a category - let's say Fruit. CubeCart will automatically submit the form and the resulting list will contain only those products in Fruit -- Apples. The list of letters at the top of the list, however, still has A, C and Any.

     

    2. Select a letter - let's say C (even though we know there are no products in this current list that start with C). The letter C is a link that submits the form and the resulting list is empty. CubeCart displays a red banner that says 'No products start with 'C'. Any has now moved to the far left above the table and there are no other letters.

     

    3. Then try to change to a different category - let's say Any in the drop-down. We are still filtering on C, however. CubeCart will automatically submit the form and the resulting list will contain only those products that start with C, which may be found in any category.

     

    Works for me. (I get all the letters and Any above the table.)

    "I think the filter should reset when you from letter selection when you change category filters."

     

    (This sentence may need fixing -- it's confusing.)

     

    Are you wanting only the category filter to work, or only the letter filter to work, but never both at the same time?

     

    Are you also saying that clicking Any, then choosing Any from the drop-down, still returns an empty list and red banner?

    I fixed the typo. If I had that setup, when I get the red banner for clicking on C, then click on any, i still have the red banner. It doesn't update.

  8. It's an invitation to engage in a conversation.

     

    I think that what I described as happening in my installation is not what you are experiencing. Or is it?

     

    I assume you assert that what you are experiencing is a bug -- and that it's an obvious bug.

     

    My reply suggests maybe it is not a bug, but rather an intentional programming decision -- one that I disagree with.

     

    I've expressed what I would like to experience.

     

    Please let us know what you think would be the better approach to using these filters.

    I think the filter should reset from letter selection when you change category filters. That would get rid of the nothing found message. It isn't like you can manually clear the filter out either without clicking the product tab and fully starting over.

  9. There appears to be two independent filters in the Product Inventory listing:

    * by Category or Any

    * by first character of the product Name (or code) or Any.

     

    Changing one does not change the other.

     

    What I would like to see is that the other filter be more representative of the result. For example:

    Apples in Fruit

    Carrots in Vegetable

     

    If I select category Fruit, I do not expect to see C in the Name filter.

    If I select name C, I do not expect to see Fruit in the Category Filter.

    Is this supposed to be a question or just a comment?

  10. When you filter products by category in the admin panel and the select a leter filter, it does not update to a new category filter without clicking on the produsts tab again. (click product, filter category,select a leter, then try to change to a different category). It does this only when the new category doesn't have a product with the letter you had selected first. Any fixes yet?

  11. Just to be clear:

     

    "Certain items must be shipped Fedex Ground. All others can ship USPS. I want to force the shipping method to Fedex Ground if any of these certain items is in the basket."

     

    So we need a way to simply flag an item as being "Special Shipping Required". Then add code to the shipping functions to look for that flag and lock out all other shipping choices.

     

    Flagging an item can be done with either of two third-party mods:

    * http://www.cubecartforums.org/index.php?showtopic=17088 (free)

    * http://www.cubecartforums.org/index.php?showtopic=16373 (more flexible)

     

    I'll start looking at the shipping code.

    Yep. If it is a rocket motor, it must be shipped USPS or Fedex, depending on the specific motor. The USPS ones can also go fedex, but not the other way around.

  12. You may be able to force which one you want for shipping by making specific choices by type of package. I was able to keep the Post Card and Letter choices from showing up in USPS by choosing non-machinable in the USPS module.

     

    What weight  or item value specifically is your cutoff point?

    It isn;t either. It is based on the motor sizes. We have rocket motors from 18mm diameter through 98mm diameter. In estes for example, all of the A,B,C,D motors can ship USPS, but the E motors have to go Fedex. Then in Aerotech, The D,E,G and some H motors can go USPS, but the F and rest of the H plus I-N motors have to go Fedex. I also need to have the USPS shippable motors go Parcel Post, while Parachutes and kits ect go Priority Mail.

  13. "I had to change all prior users to the proper state abbreviation."

     

    Looking in the CubeCart_addressbook database table, take note of the state names. Then, look in the CubeCart_geo_zone table, and note the 'id' of those states. Back in the CubeCart_addressbook table, replace the names (or whatever non-numeric thing may be in the state column) with the respective 'id'.

     

    Please make sure there are numbers in the state column of the CC_addressbook table.

     

     

    Well, I would however I used 2 letter abbreviations as when I put the numbers in, the cart gave me the no shipping defined message. I put letters in, it works.

    Good morning all. I'm back in the office now (albeit with no electricity so I am working from battery). It seems to me like this issue concerns the migration of customer addresses from v3/v4 to v5. I will raise an issue to get this tested and checked. We have suffered data inconsistency on state format in a number of regions of cubecart and in particular with upgrade. 

     

    I was an upgrade from v3.

  14. I have searched but cannot find it. Where would I find the lines to change to have USPS standard post show up as different wording? I found and changed fedex's already but cant find this one. I did see some interesting comments about USPS :)

  15. Thanks everyone for the help. The issue was 2 thing-My password was incorrect(have to use production one not your login one) and the database did not update prior customers to a 2 letter state code. This was thought to be the number series that a new user showed up as but I had to change all prior users to the proper state abbreviation. Thanks again for the help.

×
×
  • Create New...