Glossary entry (derived from question below)
anglais term or phrase:
website scope
français translation:
sur l'ensemble du site
Added to glossary by
FX Fraipont (X)
May 20, 2010 17:35
14 yrs ago
anglais term
website scope
anglais vers français
Technique / Génie
Internet, commerce électronique
website terminology
Phrase entière:
Customer website ID must be specified, when using website scope.
Customer website ID must be specified, when using website scope.
Proposed translations
(français)
3 -1 | sur l'ensemble du site | FX Fraipont (X) |
Change log
May 31, 2010 09:25: FX Fraipont (X) Created KOG entry
Proposed translations
-1
2 heures
Selected
sur l'ensemble du site
d'après ce que je lis sur le site de Magento, on peut avoir un site qui contient plusieurs boutiques. Un article peut se vendre dans la boutique A, la boutique B, ou sur l'ensemble du site ("website scope", défini par un attribut), donc dans les boutiques A et B"
"Hello,
I have a simple problem :
1 website contains 2 store groups :
- storegroup1
- storegroup2
Each storegroup contains 1 store :
- storegroup1 contains store1
- storegroup2 contains store2
I create a product P. I want P to be enabled in store1 and disabled in store2.
In Magento, the status attribute has the Website scope. In this case, if I change P status in store1, it also changes the status un store2. I’m okay with that.
With a (very) simple action, I have modified the status scope in the DB (table : eav_attribute), with “0” (= store view scope) in “is_global” in order to “2” (= website scope).
It works, and P can be enabled in store1 and disabled in store2
My question : is this modification safe ? Is it risked ? And why Magento uses the website scope for this attribute ? A particular reason ? "
http://www.magentocommerce.com/boards/viewthread/43280
"I guess I’m retarded but this explanation of the “scope” of an attribute is difficult to understand.
Scope: This determines the store level at which this attribute will save for all products. If you choose Global, and edit “Hard Drive Size” for product 123 in store A to “50 GB”, product 123’s hard drive size in store B (and any other stores) will also update to “50 GB”. For hard drive size, we’ll make it globally editable - we won’t sell the exact same hard drive in different stores with different sizes… that’s not possible. An example where we might want globally editable: no is “Price.” We might want to sell the Hard drive for $20 more in Store A. "
http://www.magentocommerce.com/boards/viewthread/26158/
--------------------------------------------------
Note added at 11 hrs (2010-05-21 04:59:22 GMT)
--------------------------------------------------
the message appears in the Magento application code:
"public function loadByUsername(Mage_Customer_Model_Customer $customer, $username, $testOnly = false)
{
$select = $this->_getReadAdapter()->select()
->from($this->getEntityTable(), array($this->getEntityIdField()))
//->where('email=?', $email);
//->where('username=:customer_username');
->addAttributeToSelect('username',$username);
if ($customer->getSharingConfig()->isWebsiteScope()) {
if (!$customer->hasData('website_id')) {
Mage::throwException(Mage::helper('customer')->__('Customer website id must be specified, when using website scope.'));
}"
http://www.magentocommerce.com/boards/viewthread/35777/
"Hello,
I have a simple problem :
1 website contains 2 store groups :
- storegroup1
- storegroup2
Each storegroup contains 1 store :
- storegroup1 contains store1
- storegroup2 contains store2
I create a product P. I want P to be enabled in store1 and disabled in store2.
In Magento, the status attribute has the Website scope. In this case, if I change P status in store1, it also changes the status un store2. I’m okay with that.
With a (very) simple action, I have modified the status scope in the DB (table : eav_attribute), with “0” (= store view scope) in “is_global” in order to “2” (= website scope).
It works, and P can be enabled in store1 and disabled in store2
My question : is this modification safe ? Is it risked ? And why Magento uses the website scope for this attribute ? A particular reason ? "
http://www.magentocommerce.com/boards/viewthread/43280
"I guess I’m retarded but this explanation of the “scope” of an attribute is difficult to understand.
Scope: This determines the store level at which this attribute will save for all products. If you choose Global, and edit “Hard Drive Size” for product 123 in store A to “50 GB”, product 123’s hard drive size in store B (and any other stores) will also update to “50 GB”. For hard drive size, we’ll make it globally editable - we won’t sell the exact same hard drive in different stores with different sizes… that’s not possible. An example where we might want globally editable: no is “Price.” We might want to sell the Hard drive for $20 more in Store A. "
http://www.magentocommerce.com/boards/viewthread/26158/
--------------------------------------------------
Note added at 11 hrs (2010-05-21 04:59:22 GMT)
--------------------------------------------------
the message appears in the Magento application code:
"public function loadByUsername(Mage_Customer_Model_Customer $customer, $username, $testOnly = false)
{
$select = $this->_getReadAdapter()->select()
->from($this->getEntityTable(), array($this->getEntityIdField()))
//->where('email=?', $email);
//->where('username=:customer_username');
->addAttributeToSelect('username',$username);
if ($customer->getSharingConfig()->isWebsiteScope()) {
if (!$customer->hasData('website_id')) {
Mage::throwException(Mage::helper('customer')->__('Customer website id must be specified, when using website scope.'));
}"
http://www.magentocommerce.com/boards/viewthread/35777/
3 KudoZ points awarded for this answer.
Comment: "Merci pour votre aide!"
Something went wrong...