first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
class stRecentlyViewedProductsBackendActions extends autoStRecentlyViewedProductsBackendActions
|
||||
{
|
||||
protected function saveConfig()
|
||||
{
|
||||
parent::saveConfig();
|
||||
ProductPeer::clearCache();
|
||||
stFastCacheManager::clearCache();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
class stRecentlyViewedProductsBackendComponents extends autoStRecentlyViewedProductsBackendComponents
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
generator:
|
||||
param:
|
||||
model_class: false
|
||||
title: "Ostatnio przegladane produkty"
|
||||
route: "@stRecentlyViewedProductsBackend"
|
||||
icon: "stRecentlyViewedProductsPlugin"
|
||||
|
||||
documentation:
|
||||
pl: "https://www.sote.pl/docs/ostatnio-przegladane-produkty"
|
||||
en: "https://www.soteshop.com/docs/ostatnio-przegladane-produkty"
|
||||
|
||||
config:
|
||||
display:
|
||||
"NONE": [enabled, show_in_product, show_in_sidebar, product_show]
|
||||
fields:
|
||||
enabled: {name: "Włącz", checked: false, type: checkbox}
|
||||
product_show:
|
||||
name: Ilość wyświetlanych
|
||||
type: select
|
||||
display: [3, 4, 6, 8, 9, 12]
|
||||
options:
|
||||
3: {name: 3, value: 3}
|
||||
4: {name: 4, value: 4}
|
||||
6: {name: 6, value: 6}
|
||||
8: {name: 8, value: 8}
|
||||
9: {name: 9, value: 9}
|
||||
12: {name: 12, value: 12}
|
||||
selected: 6
|
||||
show_in_product: {name: "Pokaż w karcie produktu", checked: true, type: checkbox}
|
||||
show_in_sidebar: {name: "Pokaż w panelu bocznym", checked: true, type: checkbox}
|
||||
|
||||
actions:
|
||||
_save: {name: "Zapisz"}
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
class stRecentlyViewedProductsBackendBreadcrumbsBuilder extends autoStRecentlyViewedProductsBackendBreadcrumbsBuilder
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user