CodingMageSheen
  • Member for 5 years, 6 months
  • Last seen more than 4 years ago
1 answers
0 votes
41 views
Why does my view page not load in Admin Panel?
1 votes

I found that in my app/code/local/Sean/MasterCreate/Block/Adminhtml/Event/Edit.php I had to change public function __construct(){ $this->_objectId = 'event_id'; $this->...

View answer
1 answers
2 votes
548 views
Magento : One Step Checkout Accordion
1 votes

I created a self executing function to initiate jQuery. Then created a function called theNextTab(). I just have this in a tag under the accordion. Essentially I gave all the next buttons a name ...

View answer
1 answers
0 votes
347 views
Find all Product root categories of a store (Magento 1.7)
1 votes

I solved it! For those curious, First I grabbed the current store I'm in and the root category Ids $store = Mage::app()->getStore(); $categoryId = $store->getRootCategoryId(); Then I loaded the ...

View answer
1 answers
1 votes
113 views
Joining same table using IDs
1 votes

I solved the issue I just double joined the tables. $collection->getSelect()->join( array('ar' =>'admin_role'), 'ar.user_id = main_table.user_id' ) ->join( ...

View answer
2 answers
0 votes
686 views
Magento Admin User - Custom Attribute?
1 votes

Thank You to @Rajan for helping me with: I want to add an attribute that's a number called Calc_Code. By directly adding it to the database Admin User's gained that attribute. However I had to do ...

View answer
1 answers
1 votes
23 views
How do I run code if and only if certain items are successfully added to the Cart?
1 votes

I got it! Let me know if anyone needs to do something similar to this and I'll do my best to help out and respond! First off I activated my module: app/etc/Sean_DaysToCart.xml <?xml version="1.0"?...

View answer
1 answers
2 votes
196 views
Show next minimal price if is 0
Accepted answer
1 votes

On the category view the items fill the page as objects. You can reference each individual object by calling: $currentProductId = $item->getId() $configurableProduct = Mage::getModel('catalog/...

View answer
2 answers
0 votes
755 views
Adding Tier Pricing Programmatically - Not Showing in Admin
1 votes

Awesome so I got it working! If any of you have questions leave them in the comments and I'll do my best to help you out too! So I had to add a special variable $standardTierPrices = array(); $...

View answer
2 answers
0 votes
1k views
Helper Data not found - Can't access admin panel
0 votes

I just fixed it finally thank god. @Tyler V I had the Sean_Adminmerchant.xml. I just always forget to include that when describing my problems. So someone had a similar issue to me they deleted all ...

View answer
1 answers
3 votes
1k views
Magento2: Cart price rule not applying
0 votes

You can make these changes directly in the cart.phtml Above everything on the cart.phtml you can check the current customer's cart and check if all three products exist on the page. If they do then ...

View answer
2 answers
1 votes
2k views
Save Button Do nothing and does not work in my backend
0 votes

Unfortunately Clearing the Cache/Index and Browser Cache is not always enough. I know this answer is late but to anyone reading this, you have to go into your folder that holds your project and go ...

View answer
1 answers
0 votes
56 views
Question about SQL query on collection - Magento 1.7
0 votes

Ah foolish of me I realized main_table is the table I'm already currently in. I just had to join them as if they were two separate tables then look at customer_group_code in the second table. Here ...

View answer
3 answers
0 votes
91 views
Save to SQL DataBase
0 votes

I only have a semi answer for people who have a similar problem to me. I was able to fix the above by using: Mage::getModel('amperm/perm')->assignOneCustomer($userid, $customerId); I have no idea ...

View answer
1 answers
0 votes
19 views
Getting URL for Products only works for first store
0 votes

Wow simple mistake. I just had to use getUrlPath() instead of getUrl(). The wonders of just var_exporting and looking through the object! Hope this helps anyone else who has this problem though!

View answer
2 answers
0 votes
1k views
Add to Cart Resulting in: Cannot add the item to shopping cart
0 votes

I just found what's wrong. You can't ever call save() on a customer not logged in or even something related to them. I just removed that line of code and it works perfectly for signed in and not ...

View answer
2 answers
0 votes
37 views
Form to Controller Help!
0 votes

The thing missing was if you look into the controller there is: class Sean_CustomerTab_Adminhtml_CustomerTabController Since the T in Tab of CustomerTabController is capitalized, when I reference it ...

View answer
3 answers
0 votes
410 views
Custom Controller URL Admin Panel
0 votes

In the class Sean_CustomerTab_Adminhtml_CustomerTab_CustomerTabController Because CustomerTabController has 2 words and both are capitalized. The form action had to be: <form action="<?php ...

View answer
2 answers
0 votes
90 views
Can't get Custom Admin Tab to work!! (Very detailed of what I have thus far)
0 votes

I solved this a different way without using an observer (Sorry I'm not very experienced with observers). I used this to tell Magento where to look to find my files. I created a custom module: app/...

View answer
4 answers
5 votes
3k views
When Adding a product to cart programatically ,the price of the product becomes zero ($0.00)
0 votes

$params = array( 'product' => $product_id, 'qty' =>1 ) You are programmatically adding it to cart but not specifying the price. I believe in Magento's structure because you're adding it for ...

View answer
3 answers
0 votes
1k views
Customer attribute is NULL?
0 votes

Let me start by saying Magento has a way with how they want things. You are most likely creating the attribute for the customer correctly however if it is set to null like you say it is it will NOT ...

View answer
1 answers
0 votes
304 views
Magento 2: How to display product attribute in new window?
0 votes

Please upvote if this helps you ^_^ It's hard to answer your question perfectly because everyone's setup is different so reply to this if you can and i'll tweak it to find the best solution for you! ...

View answer
3 answers
3 votes
1k views
Magento2 Reindex Issue - MySQL Configuration
-2 votes

Are you only adding products through the Magento Admin Panel or programmatically somewhere? Go to Admin Panel click -> System -> Cache Management Check all the boxes off make sure Action is set to ...

View answer