Skip to main content
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
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
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 not deleted user 5757

Magento Community version 1.9

1 vote
1 answer
2k views

Add category settings and thumbnail programatically/in front end

I'm currently using the below to add a category programatically/in the front end <?php $category = Mage::getModel('catalog/category'); $category->setName('new_category'); $category->setIsActive(1 …
odd_duck's user avatar
  • 1,396
1 vote
1 answer
2k views

Force only category URL

Currently my Magento store (ce-1.9.0) has all its products in parent folders. For each product it will have 2 urls: From the Homepage = mysite.com/product-page From the Category Page = mysite.com/ca …
odd_duck's user avatar
  • 1,396
4 votes
3 answers
5k views

Magento - Add customer email into Address Templates HTML

I need to show the customer email on my order confirmations in the Shipping Information section. I know it is called in: System > Configuration > Customers > Customer Configuration > Address Template …
odd_duck's user avatar
  • 1,396
4 votes
Accepted

Magento - Add customer email into Address Templates HTML

Managed to get this by adding: {{var order.getCustomerEmail()}} underneath: {{var order.getShippingAddress().format('html')}} in the transactional email templates in admin
odd_duck's user avatar
  • 1,396
8 votes
7 answers
15k views

Delete Unused Catalog Product Images

I have taken over a magento store that over 3 years has built up a large amount of product images that are no longer in use but were never deleted. Is there a way i can delete all images that are no …
odd_duck's user avatar
  • 1,396
3 votes
2 answers
7k views

Set Category Product Position of Products

I have a php script in magento that programmatically creates products in a for each loop as below: $i = 0; foreach ($array as $product) { createProduct($params); $i++; if($i == $count){ …
odd_duck's user avatar
  • 1,396