It should be finding a unique product code in the options_inventory table. I must not be understanding the question.
Are you running a current version? What version of the cart are you applying this to? Generally the code works for all versions other than the AREA/BOOTSTRAP security which is version dependent.
It should be finding a unique product code in the options_inventory table. I must not be understanding the question.
Are you running a current version? What version of the cart are you applying this to? Generally the code works for all versions other than the AREA/BOOTSTRAP security which is version dependent.
I have copied the last modified codes and tested. The result is same. Let me explain. There is a product which product_code is YKC. For example it’s a bike. And this bike has 2 options. Red and Black color. The customer has to be select the color to buy. Red color options has a different product_code: YKC-RED The Black bike has a different product code: YKC-BLACK
So:
BIKE → Product_code: YKC (Product ID: 12)
RED color → Product_code: YKC-RED (Product ID: 12)
BLACK color → Product_code: YKC-BLACK (Product ID: 12)
I entered followed url to browser: index.php?dispatch=checkout.remote_checkout.YKC-RED@3|YKC-BLACK@1 (Products that added to URL are options of same product.)
The codes add to cart 4 products which product_code is YKC-RED. So, all products that added to cart is same It should be added 3 pieces YKC-RED and 1 piece YKC-BLACK.
I hope I could explain. I think problem is about product ID. All product_codes are options of only one product. So, all of their product ID is same. When I try to add different product_codes of different products, it works correctly.
When I enter index.php?dispatch=checkout.remote_checkout.YKC-RED@3|ABC@1
(ABC is the product code of a different item which product ID is different.)
And what result did you get when you used that URL? Suggest you use 'remote_add' for testing instead of 'remote_checkout'. It's easier to diagnose things.
And what result did you get when you used that URL? Suggest you use ‘remote_add’ for testing instead of ‘remote_checkout’. It’s easier to diagnose things.
[/quote]
I tested it by using “remote_add” with this URL: index.php?dispatch=checkout.remote_add.YKC-RED@3|YKC-BLACK@1
The result is same. [color=#282828][font=arial, verdana, tahoma, sans-serif]it doesn’t add the products [/font][/color][color=#282828][font=arial, verdana, tahoma, sans-serif]to cart [/font][/color][color=#282828][font=arial, verdana, tahoma, sans-serif]correctly. [/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]Below you can see result:[/font][/color]
[font=“Arial”]Why don’t you drop me an email at support “at” ez-ms.com and we can figure this out in your environment. I think I understand that what you’re saying . I.e. that the product_code is getting to the right product but the options related to that product are not being set. I think this can be reasonably resolved. But not in the forum! [/font]
Not quite sure I'm clear on the problem. Does your product BR1500 exist? Is it a standard inventory item or an option combination?
Please drop a note in email (as per #46) above and I'll be happy to try and diagnose any issue. Also, please ensure that you have the latest version located at https://ez-ms.com/private/unsupported_scripts/checkout.pre.php.txt There was a change in January related to multiple products…
Not quite sure I'm clear on the problem. Does your product BR1500 exist? Is it a standard inventory item or an option combination?
Please drop a note in email (as per #46) above and I'll be happy to try and diagnose any issue. Also, please ensure that you have the latest version located at https://ez-ms.com/private/unsupported_scripts/checkout.pre.php.txtThere was a change in January related to multiple products....
Hi. Thanks for this mod, still works fine in V.4.3.9 but i have the issue adding second product to cart. When i try to get the code, server says 'access denied'. Can you upload it again? Thanks.
Hi, does anyone have this working for CS 4.6.2? When I tried to remote checkout, it says Your cart is empty, so you cannot proceed to checkout.
Are you referring to the code referenced in posting #51?
I'm not aware of anything in that code that would break on 4.6.2 other than the bug in checkout for custom profile fields. But that affects all checkouts (surprised this wasn't an SP).
What is the URI that you are using including all parameters?