Integrations DI refactor, remove Sellasist/Baselinker, fix product-edit encoding (0.263)
- New: Domain\Integrations\IntegrationsRepository + admin\Controllers\IntegrationsController (DI) - Cleanup: removed all Sellasist and Baselinker integrations from entire project - Fix: product-edit.php Polish characters (UTF-8/CP1250 double-encoding) - Update: factory\Integrations as facade (Apilo + ShopPRO only) - Tests: 212 tests, 577 assertions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -264,18 +264,6 @@ class Product implements \ArrayAccess
|
||||
return false;
|
||||
}
|
||||
|
||||
// pobierz id produktu z Baselinker
|
||||
static public function get_baselinker_product_id( int $product_id )
|
||||
{
|
||||
global $mdb;
|
||||
|
||||
$result = $mdb -> get( 'pp_shop_products', [ 'parent_id', 'baselinker_product_id' ], [ 'id' => $product_id ] );
|
||||
if ( $result['baselinker_product_id'] )
|
||||
return $result['baselinker_product_id'];
|
||||
else
|
||||
return $mdb -> get( 'pp_shop_products', 'baselinker_product_id', [ 'id' => $result['parent_id'] ] );
|
||||
}
|
||||
|
||||
// pobierz kod SKU
|
||||
static public function get_product_sku( int $product_id )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user