Skip to content

Commit 9c3ffce

Browse files
committed
Fixing README
1 parent 9cc8abe commit 9c3ffce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ foreach ($cartProducts as $cartProduct) {
137137
->setItemName($cartProduct->name) // required
138138
->setItemCode($cartProduct->code) // SKU or id
139139
->setItemCategory($cartProduct->category) // item variation: category, size, color etc.
140-
->setItemPrice($pos->price)
141-
->setItemQuantity($pos->qty)
140+
->setItemPrice($cartProduct->price)
141+
->setItemQuantity($cartProduct->qty)
142142
// make the 'item' hit
143143
->sendItem();
144144
}

0 commit comments

Comments
 (0)