Page 39 of 55 FirstFirst ... 29373839404149 ... LastLast
Results 381 to 390 of 546
  1. #381
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Product Attribute Grid

    I get a "page NOT found"?

  2. #382
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: Product Attribute Grid

    Hi all,

    Hope someone can help me! I have re-created my site on 1.5.1, please see product page http://www.fossilandrock.co.uk/cryst...gate-blue-lace. When I try to add options, it does not add it to my cart at all, it just shows the product and the charge is £ 0.00. How can I fix this?

    B

  3. #383
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: Product Attribute Grid

    Quote Originally Posted by wilt View Post
    k,

    I installed the attributes grid contribution on a stock 1.3.8 install with the most up to date Security patch file.

    It does in fact stop this contribution from adding items to the cart.

    The reason is, that the security patch uses a whitelist of characters that are allowed in the to be keys of the products_id array.

    The attribute grid contribution uses extended product ids, as keys and these fail the whitelist test.

    The fix is fairly simple.

    In the security patch, there is a function called.

    securityPatchSanitizePostVariableProductsId

    and in this is the line

    PHP Code:
    if (ereg_replace('[0-9a-zA-z_]'''$key) != ''
    this should be changed to

    PHP Code:
    if (ereg_replace('[0-9a-zA-z_:]'''$key) != ''
    We will look to release an updated patch (probably this weekend)

    Our apologies for the inconvenience, however we took the position that using a whitelist was more secure than relying on a simple blacklist.
    Hi everyone,

    I have asked a few days ago for some help as my products are simply not added to the cart, just worried support on this thread is now non-existent as no one seems to want to reply. Using version 1.5.1, www.fossilandrock.co.uk.

    From the above, I found /includes/extra_configures/security_patch_v138_20080919.php. On this I cannot find the above, only at the bottom if (preg_replace('/[0-9a-zA-z_:.]/', '', $key) != ''). This does not quite match the above, but could this be the culprit that prevents my products to be added to the cart?

    B

  4. #384
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Product Attribute Grid

    The rewritten preg_replace you quoted is newer and compatible with contemporary versions of PHP. The old ereg_replace was for PHP 4, and is now obsolete.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #385
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: Product Attribute Grid

    Quote Originally Posted by DrByte View Post
    The rewritten preg_replace you quoted is newer and compatible with contemporary versions of PHP. The old ereg_replace was for PHP 4, and is now obsolete.
    Hi DrByte. Thanks for the reply. What else could be happening as my attributes are not sent to my cart?

    B

  6. #386
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    Hi,

    I hope someone can help me. I am using version 1.5.1, www.fossilandrock.co.uk. I have Product Attribute Grid installed, as we offer products that are available in different sizes and we would like customers to add multiple options to their cart (here is an example http://www.fossilandrock.co.uk/cryst...43d45368ab0abd). However, what I have found is that when I click "Add to cart", the attributes are not added, and the product shows up as £ 0.00. I just wanted to confirm, is Fast and Easy Checkout compatible with the Product Attribute Grid and Stock by Attributes?

    B

  7. #387
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Fast and Easy Checkout for Zen Cart

    Hi,

    I took a quick look at your site. The problem does not seem to stem from parameter sanitization (as per your post http://www.zen-cart.com/showthread.p...42#post1208642)

    Looking at the page source, there appears to be missing hidden fields on the page, that the attribute need to process when adding the product to the cart.
    Not sure why that is happening though. I will try and do a integration on a clean v1.5 to see if that sheds any light.
    Also given that it is the product page that is the problem, it's unlikely to be anything related to fast & easy.

  8. #388
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: Product Attribute Grid

    Hi developers,

    I could not make this module work at all, and found this morning that the module is actually broken.

    What I have done:

    1. Installed fresh version of 1.5.1 on www.torfarm.retailjunction.co.uk
    2. Installed 1.5.1 version template of bentley_classic
    3. Installed Stock by attributes (as this was a fresh install I allowed simple overwrite of files) (latest version loaded by kuroi on 03 Jan 2013)
    4. Installed Product Attribute Grid 1.2 (updated by Absolute on 02 Nov 2012)

    My attributes are not added to the cart, same as with my main site, please test. I have compared and have noticed from your version for 1.3.9, two files are missing from the 1.5 version, tpl_product_info_display.php and tpl_modules_attributes.php. Were these really unnecessary files? Could you please have a re-look at this module and fix? Your help here is greatly appreciated.

    Kind regards

    B

  9. #389
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: Product Attribute Grid

    Just PM'd Absolute but mailbox full....

  10. #390
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: Product Attribute Grid

    While you're at it, could I ask another favour? The module is a bit "broken" in Firefox. It displays correctly in Chrome and Internet Explorer, however in Firefox the heading "size" is displayed on the left hand side, next to the attribute options, and I have tried all variations of CSS but cannot seem to move the "size" to above the options, so that "size" and "quantity" is displayed in one line, each above their own column.

    Thanks!

 

 
Page 39 of 55 FirstFirst ... 29373839404149 ... LastLast

Similar Threads

  1. Product Attribute Grid Help - Willing to Pay
    By MM_Dude in forum General Questions
    Replies: 0
    Last Post: 26 Nov 2014, 08:19 PM
  2. Quick Order & Product Attribute Grid...Possible?
    By laurenjj in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 2 Jul 2010, 02:02 AM
  3. Product Attribute Grid!!!
    By runoka in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 5 Apr 2010, 05:50 PM
  4. Product Attribute Grid Instructions Possible Paragraph Missing
    By printchic in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 8 Aug 2009, 05:54 AM
  5. Help Uninstalling Product Attribute Grid
    By Dr Tweak in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 20 May 2008, 05:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR