Skip to content

Commit 6643ae5

Browse files
committed
Minor doc update
1 parent 67218e7 commit 6643ae5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ The sample code below shows how to create a new guest shopping cart, add/update/
263263
Note that creating guest shopping cart does not require login
264264

265265
```java
266-
MagentoClient client = new MagentoClient(Mediator.url);
266+
MagentoClient client = new MagentoClient(magento_site_url);
267267
String cartId = client.guestCart().newCart();
268268

269269
CartItem item = new CartItem();
@@ -292,7 +292,7 @@ System.out.println("cartTotal: " + JSON.toJSONString(cartTotal, SerializerFeatur
292292
The sample code belows show how to transfer a guest cart to my cart after user login:
293293

294294
```bash
295-
MagentoClient client = new MagentoClient(Mediator.url);
295+
MagentoClient client = new MagentoClient(magento_site_url);
296296

297297
String cartId = client.guestCart().newCart();
298298

@@ -317,7 +317,7 @@ The sample code below shows how to create my shopping cart, add/update/delete it
317317
Note that creating my shopping cart requires login
318318

319319
```java
320-
MagentoClient client = new MagentoClient(Mediator.url);
320+
MagentoClient client = new MagentoClient(magento_site_url);
321321
client.loginAsClient("username", "password");
322322
String quoteId = client.myCart().newQuote();
323323

0 commit comments

Comments
 (0)