Repository for DesignConfig of the deprecated CMS
Plenty\Modules\Template\Design\Config\Contracts
public findByDesignName(string $designName):array
string | $designName |
public findByDesignAndWebStore(string $designName, int $webStoreId):DesignConfig
string | $designName | |
int | $webStoreId |
public findByDesign(Design $design):array
Design | $design |
public update(array $data, string $designName, int $webstoreId):DesignConfig
array | $data | |
string | $designName | |
int | $webstoreId |
public copyDesignConfig(string $designName, string $newDesignName):DesignConfig
string | $designName | |
string | $newDesignName |
Repository for Design of the deprecated CMS
Plenty\Modules\Template\Design\Config\Contracts
public loadAll():array
public findByDesignName(string $designName, bool $withConfig = true):Design
string | $designName | |
bool | $withConfig |
public getCheckoutType():array
Design model of the deprecated CMS
Plenty\Modules\Template\Design\Config\Models
Type | Name | Description |
---|---|---|
string | designName | |
string | imageDir | directory of images |
bool | export | directory of images |
string | updatedAt | created at date timestamp |
string | createdAt | updated at date timestamp |
array | config | list of configurations of each webstore |
public toArray()
Returns this model as an array.
Design configuration model
Plenty\Modules\Template\Design\Config\Models
Type | Name | Description |
---|---|---|
int | webstoreId | |
int | error404ContentPageId | |
int | bankContentPageId | |
int | cancellationRightsContentPageId | |
int | termsConditionsContentPageId | |
int | contactContentPageId | |
int | legalDisclosureContentPageId | |
int | helpContentPageId | |
int | itemNotFoundContentPageId | |
int | paymentMethodsContentPageId | |
int | privacyPolicyContentPageId | |
int | shippingContentPageId | |
int | frontPageContentPageId | |
int | customerRegistrationPageId | |
int | orderConfirmationPageId | |
int | lostPasswordPageId | |
int | loginPageId | |
int | logoutPageId | |
int | typeOfCheckout | |
int | checkoutStep1PageId | |
int | checkoutStep2PageId | |
int | checkoutStep3PageId | |
int | checkoutStep4PageId | |
int | checkoutStep5PageId | |
int | checkoutStep6PageId | |
int | checkoutStep7PageId | |
int | checkoutStep8PageId | |
int | checkoutStep9PageId | |
int | checkoutStep10PageId | |
string | pageDesignWebshop | |
string | pageDesignCheckout | |
string | pageDesignMyAccount | |
string | pageDesignBlog | |
string | pageDesignForum |
public toArray()
Returns this model as an array.