Skip to content

Commit

Permalink
fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
KavindaHarshana committed Oct 22, 2024
1 parent 7e75df9 commit 2817d21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Model/Variation/OrderItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function ProductVariation($forcecurrent = false)
}
return null;
}

public function onPlacement()
{
parent::onPlacement();
Expand Down
2 changes: 1 addition & 1 deletion src/Page/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public function getCategories()
* @return boolean
*/
public function canPurchase($member = null, $quantity = 1)
{die('aaaaaa');
{
$global = self::config()->global_allow_purchase;

if (!$global || !$this->AllowPurchase) {
Expand Down

0 comments on commit 2817d21

Please sign in to comment.