Questions tagged [magento1]
6 questions
6
votes
2 answers
Get magento shipping tax rate from order object
I need to know how I get the tax rate of an order. Currently I'm calculation this value with
$order->getShippingTaxAmount() and $order->getShippingAmount()
It's really, really ugly, but this works so far. But if there are no shipping cost, I don't…

Stefan Brendle
- 1,545
- 6
- 20
- 39
3
votes
1 answer
Programmatically setting a default value for multiselect/select Magento attributes
Here's how I create a new Product multiselect attribute:
$eav = new Mage_Catalog_Model_Resource_Setup('core_setup');
$eav->addAttribute(
Mage_Catalog_Model_Product::ENTITY,
"product_country",
array(
'label' …

nevvermind
- 3,302
- 1
- 36
- 45
2
votes
3 answers
magento adding a column in existing table
I am new to Magento. I want to add a column in the newsletter_subscriber table so I made a new file mysql4-upgrade-1.6.0.0-1.6.0.1.php in app/code/core/mage/newsletter_setup/

Meshan Raza
- 89
- 2
- 13
2
votes
2 answers
Add a dropdown attribute in Product report grid Magento 1
I'm trying to add new product attributes to Reports->Products Ordered grid. I copied the /app/code/core/Mage/Adminhtml/Block/Report/Product/Sold/Grid.php to
/app/code/local/Mage/Adminhtml/Block/Report/Product/Sold/Grid.php and add attributes like…

Hum
- 531
- 2
- 12
- 30
1
vote
2 answers
Magento - Configurable products not visible until manually saved in admin panel
I have a script that is creating a lot of configurable products and their associated simple products.
Everything goes ok and when inspecting the products in the admin section, everything is linked up and looks great.
The problem is that the…

Drew Hunter
- 10,136
- 2
- 40
- 49
0
votes
1 answer
Magento 1.9 "Unable to list current working directory."
I am getting this error in Magento 1 - "Unable to list current working directory." while trying to forgot password in frontend after adding email and captcha. I have attach reference for error bellow.
Frontend Forgot Password error
Thank you in…

Ekta Rathod
- 11
- 1