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:
@@ -3,17 +3,6 @@ namespace front\factory;
|
||||
|
||||
class ShopProduct
|
||||
{
|
||||
// get_sellasist_product_id
|
||||
static public function get_sellasist_product_id( $product_id ) {
|
||||
global $mdb;
|
||||
if ( !$sellasist_product_id = $mdb -> get( 'pp_shop_products', 'sellasist_product_id', [ 'id' => $product_id ] ) ) {
|
||||
$sellasist_product_id = $mdb -> get( 'pp_shop_products', 'sellasist_product_id', [ 'id' =>
|
||||
$mdb -> get( 'pp_shop_products', 'parent_id', [ 'id' => $product_id ] )
|
||||
] );
|
||||
}
|
||||
return $sellasist_product_id;
|
||||
}
|
||||
|
||||
// get_product_sku
|
||||
static public function get_product_sku( $product_id, $parent = false )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user