私はMagentoストアを持っていますが、これはwebsites
をそれぞれstores
またはviews
として使用して同じアイテムに異なる価格を設定することはできません。ウェブサイト間のMagentoシェアカート
しかし、私は顧客が店舗を切り替えることができるようにする必要があります。これには、価格を新しいwebsite
のものに更新することが含まれます。
Share Customer Accounts
〜Global
とCatalog Price Scope
〜Website
と設定しました。これが達成可能である
<?php $websites=Mage::app()->getWebsites();?>
<?php if(count($websites)>1): ?>
<fieldset class="store-switcher">
<label for="select-store"><?php echo $this->__('Select Store') ?>:</label>
<select id="select-store" onchange="location.href=this.value">
<?php foreach ($websites as $website): ?>
<?php $_selected = ($website->getCode() == Mage::app()->getWebsite()->getCode()) ? ' selected="selected"' : '' ?>
<option value="<?php echo $website->getDefaultStore()->getBaseUrl()?>"<?php echo $_selected ?>><?php echo $this->htmlEscape($website->getName()) ?></option>
<?php endforeach; ?>
</select>
</fieldset>
<?php endif; ?>
:
は、私はまた、初期チェンジャーを持っていますか?それとも描画ボードに戻っていますか?
情報:
Magento ver. 1.6.2.0
はまた:ウェブサイトは、私は、同じドメイン上にある間、カートを共有したい、と同じfrontend
クッキーの値を持っています。 (私はSIDと仮定します)。
ウェブサイトではなく店舗間で機能しませんか? –