File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ The sample code below shows how to create a new guest shopping cart, add/update/
263
263
Note that creating guest shopping cart does not require login
264
264
265
265
``` java
266
- MagentoClient client = new MagentoClient (Mediator . url );
266
+ MagentoClient client = new MagentoClient (magento_site_url );
267
267
String cartId = client. guestCart(). newCart();
268
268
269
269
CartItem item = new CartItem ();
@@ -292,7 +292,7 @@ System.out.println("cartTotal: " + JSON.toJSONString(cartTotal, SerializerFeatur
292
292
The sample code belows show how to transfer a guest cart to my cart after user login:
293
293
294
294
``` bash
295
- MagentoClient client = new MagentoClient(Mediator.url );
295
+ MagentoClient client = new MagentoClient(magento_site_url );
296
296
297
297
String cartId = client.guestCart().newCart ();
298
298
@@ -317,7 +317,7 @@ The sample code below shows how to create my shopping cart, add/update/delete it
317
317
Note that creating my shopping cart requires login
318
318
319
319
``` java
320
- MagentoClient client = new MagentoClient (Mediator . url );
320
+ MagentoClient client = new MagentoClient (magento_site_url );
321
321
client. loginAsClient(" username" , " password" );
322
322
String quoteId = client. myCart(). newQuote();
323
323
You can’t perform that action at this time.
0 commit comments