0

たとえば、A & B と言う 1 つの magento インストールを持つ 2 つのストアがあるとします。Store A & B Ex には 2 つの異なるカスタム テーマがあります。それぞれテーマAとテーマB。ストアを作成する手順に従いました。サブフォルダーには index.php と .htaccess の 2 つのファイルのみが含まれ、index.php ファイルに変更を加えました。

ここで、テーマ themeA と themeB の両方をディレクトリ magento/app/design/frontend/default/ の下に配置します

同様に、両方のテーマのスキン ファイルはディレクトリの下に配置されます - magento/skin/frontend/default/

Once this is done go to admin > system >configuration. Here look in the left side bar at the top you will find the current configuration scope dropdown which will list all your stores select store A from drop down, magento will refesh the page & will load all the configuration for that particular store. Then select design tab in left tabs > go to theme section & save theme name which say themeA. Here unchecked “use default” or “use website” checkbox as per your configuration. so it will apply the theme to store. Apply same procedure for 2nd store.

the problem is that every time when i run the storeA or B it is loading the same layout. Please help me how can be i able to load different layout for the different stores.

Thanks Rangnath

4

1 に答える 1

0

ディレクトリの下にテーマ themeA と themeB を作成します- magento/app/design/frontend/

同様に、両方のテーマのスキン ファイルは、ディレクトリ - magento/skin/frontend/ の下に配置されます。

次に、[管理] -> [システム] -> [構成] -> [現在の構成スコープを変更] -> [デザイン] タブをクリック -> [現在のパッケージ名を変更] に移動します。

ここに画像の説明を入力

次に、キャッシュをクリアして確認します。

于 2012-10-29T07:30:40.150 に答える