Save the "product_preview" placement

This commit is contained in:
Narek Zakarian 2024-03-05 17:07:48 +04:00
parent b72898c290
commit e0a232bb49
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -27,6 +27,7 @@ class ConfigFactory {
$this->location_to_configurator_placement( 'product' ) => $this->for_location( $settings, 'product' ),
$this->location_to_configurator_placement( 'shop' ) => $this->for_location( $settings, 'shop' ),
$this->location_to_configurator_placement( 'home' ) => $this->for_location( $settings, 'home' ),
$this->location_to_configurator_placement( 'product_preview' ) => $this->for_location( $settings, 'product_preview' ),
);
}
@ -76,6 +77,7 @@ class ConfigFactory {
case 'cart':
case 'checkout':
case 'product':
case 'product_preview':
return $location;
case 'shop':
return 'category';