-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MM-25: Add logic for product prices and inventory synchronization (#50)
- Disabled field 'code' on editing for existing SalesChannel, to prevent issues with an incorrect mapping between salesChannel and website - Fixed issue with price sync - Fixed issue with remove remote data on integration deactivation - Fixed issue with updating SKU - Fixed issue with updating price when using default price
- Loading branch information
1 parent
3929205
commit d719683
Showing
6 changed files
with
40 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/Marello/Bundle/PricingBundle/Entity/PriceListInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace Marello\Bundle\PricingBundle\Entity; | ||
|
||
use Marello\Bundle\ProductBundle\Entity\Product; | ||
|
||
interface PriceListInterface | ||
{ | ||
/** | ||
* @return BasePrice | ||
*/ | ||
public function getDefaultPrice(); | ||
|
||
/** | ||
* @return BasePrice | ||
*/ | ||
public function getSpecialPrice(); | ||
|
||
/** | ||
* @return Product | ||
*/ | ||
public function getProduct(); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getCurrency(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters