Jump to content

kazkas

Members
  • Posts

    7
  • Joined

  • Last visited

kazkas's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I added Express checkout into my shop, but if existing customer tries to use Express Checkout, he gets "Registered Account Detected - Please Enter Password" error. Anyone knows how to allow visitors to use Express Checkout without checking for existing account?
  2. OK, I changed some code and now it works fine for me. Thanks tomerg3 for fist bit of code, that changes amounts of products left disregarding attributes. And I changed function in Cart class to public function containsProduct($id_product, $id_product_attribute, $id_customization) { return Db::getInstance()->getRow('SELECT quantity FROM '._DB_PREFIX_.'cart_product WHERE id_product = '.intval($id_product)); } Now my customers cannot add more than one instance of the product to their carts, even if they try to add framed and unframed versions of the product.
  3. you cannot add quantity to the products that have attributes, only quantities to each attribute. Thus you cannot set overall quantity less then 2 (unless I mistaken somewhere along the line
  4. well, the items are unique, so in theory he can buy either framed OR unframed version of the item (because there is only 1 copy of item). But Presta (even with your solution) still thinks, that there is one framed AND one unframed version of item. Your fix fixes the problem fixing quantity after customer buys the product (which is great), but he still can add to basket both versions of item before paying for them :/
  5. Yes, I fixed Product.php as per post, but still customer is able to add both versions of unique product to his cart before buying any of them :/
  6. But even then, customer could both versions of product in his cart before checkout?
  7. Hi, I'm developing a shop, I'll sell unique posters and want to add Framing option to each of them, with additional charge for every framed poster (if customer choose framing option). I tried to do that with attributes, works fine, but quantity is wrong now - presta thinks I have 1 framed version and 1 unframed version of product, which is not correct :/ Any ideas how to solve that?
×
×
  • Create New...