Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 4564

Denotes questions regarding Magento custom attributes

0
votes
Your attribute code is whatever when you can this field by $cat->getWhatever(); If this attribute is what_ever the _ (underscore make next letter of capital) thus $cat->getWhatEver();
answered Jun 26 '14 by Amit Bera
1
vote
the update script name is wrong.It should be mysql4-upgrade--0.0.1-0.0.2.php from mysql4-install-0.0.2.php. Also need to check this version at config.xml <version>0.0.2</version As per as magent …
answered Jun 11 '15 by Amit Bera
1
vote
Magento opensource version does not have the feature to add customer attribute from admin just like Product. If you want to add a custom attribute to registration form then you have to do coding or u …
answered Jun 10 by Amit Bera
1
vote
For this ,you have to create UpgradeData script at your custom module. On this upgradedata script you need to inject Magento\Eav\Setup\EavSetup class and this class has function updateAttribute() w …
answered May 2 '18 by Amit Bera
1
vote
hi you have call wrong block as write code in Mage_Catalog_Product_View You can call block type core/template that means you call class Mage_Core_Block_Template. and this class is not included fun …
answered Jan 16 '15 by Amit Bera
1
vote
snevart,whem you click on the link from product page that times you need to send product in url.Thus using this product id you can product details using load product object Mage::getModel('catalog/p …
answered Feb 10 '15 by Amit Bera
1
vote
As per as,you share code : use getIsHidePrice() for getting data of is_hide_price field. For getting data of any field try below format $manufacturer->getData('fieldname') In this process or use …
answered Apr 25 '16 by Amit Bera
1
vote
Lets debug, Check the Mage.php path is proper or not. require_once('../app/Mage.php'); You have using frontend store (default). Mage::app('default');.So,as Marius says Make sure your attribute is s …
answered Nov 4 '15 by Amit Bera
2
votes
KnowYourGento, As magento have OOPS concept and MVC logic. magento have an advance feature Event/Observer By using this is change the collection.So $_productCollection->getSelect()->__toString() us …
answered Feb 10 '15 by Amit Bera
2
votes
@snevet,you need add a condition to collection. $select->where('`m_sales_flat_order_item`.parent_item_id IS NULL'); Because of when an configurable is ordered,two row insert into sales_flat_item ta …
answered Mar 18 '15 by Amit Bera
0
votes
The steps for create an custom attribute: In order to full fill to create a custom attribute in the table,you need to Create a module. On this extension using mysql installer,create new field. Ste …
answered Sep 29 '15 by Amit Bera
0
votes
You need to check the following to get the reason : The manufacturer attribute was not assigned to any of your store's Attribute sets. The attribute value does not assigned at product. May be ther …
answered Nov 3 '16 by Amit Bera
1
vote
I am not sure about the code $result['pcb_master'] = $item->getProduct()->getAttributeText('pcb_master'); Please do some changes Do an indexing and cache flush. $result['pcb_master'] = $item->get …
answered Oct 25 '18 by Amit Bera
1
vote
First flush the cache from var/cache and using php bin/magento cache:flush Remove use \Magento\Sales\Model\Order; then try this code: $_objectManager = \Magento\Framework\App\ObjectManager::getIns …
answered Sep 22 '17 by Amit Bera
-1
votes
BEST SOLUTION: If you have used service provider class means RepositoryInterface, Then I suggest to you use service provider for create the new customer. <?php namespace Exchanges\Test\Test; /** …
answered Sep 17 '18 by Amit Bera

15 30 50 per page