Articles in the Magento Category
Headline, Magento »
If you want to redirect your Magento site from a non-www, ex. http://yoursite.com to http://www.yoursite.com. There is a trick there.
Enable Url rewriting (Admin Panel → System → Configuration → Web → Url Options → Use Web Server Rewrites → Yes).
Now go to your .htaccess file on your Magento folder, (you might need to back up your .htaccess before making your changes.)
below the line # 123 code:
#RewriteBase /magento/
Add these codes, to make it:
#RewriteBase /magento/
RewriteCond %{HTTP_HOST} !^www\.yoursite\.com$ [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]
Replace yoursite.com with your own domain. Then, save your changes on your …
Magento »
I have found a Magento extension (or module if some might call it) that allows you to delete orders and it is totally free.
The catch? This module/extension only orders that are without Invoice, Shippment or Creditmemo could be deleted. You can only delete Cancelled Orders. So~ you still have to cancel the order before deleting it or it will prompt an error “Please cancel your order before delete it“. Why only Cancelled Orders? Because deleting a complete order breaks links with invoices and shipments and could create problems along the …
Headline, Magento »
I think most of you are not surprise when I say that Magento does have a built-in export module.
I’ve locked myself trying to find a way to export my orders for my Magento 1.1.1 set up. And then I found it, szotyi from the Magento Forums posted this great solution to export orders for Magento.
Features includes:
A simple interface on the Sales -> Order page, Orders are exported in XML files, You can export all or only selected orders, Configurable/Customizable XML output
Featured, Magento »
We want to change the status of an order without going thru the process of Shipping and Invoicing. There are instances that Magento will lock the status of an order to pending until the order finishes its shipment.
This hack will activate all the order status on all states. What I mean is the Status dropdown in the Comment History, by choosing the desired status and Submitting the Comment. We can change the status of the order to Complete or Closed or any available status for that matter.
All we have to …
Magento »
Got this from the Magento Forum. Here are the downsides for this method
1. These modifications WILL be overwritten if you try to upgrade.
2. This is a pain to do– and a bit mathy.
3 files in question to customize the invoice PDF are:
/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php
/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php
/app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php
If ALL you want to do is change the font size, then it’s quite easy. If, however, you want to change the font (I changed it to helvetica for a smaller PDF file size since Helvetica does not have to be embedded) or change the paper size to US …
Featured, Magento »
By default, Magento doesn’t allow you to delete Orders on the backend. Well, there is no option in the admin for now. But guess what? there is a work around (yeah~ I know you’ve already expected this.). Boutik Circus created this “Delete Orders” extension which allows you to delete cancelled orders.
Why can we delete cancel order only?
That’s because deleting a complete order breaks links with invoices and shipments and could creates a lot of troubles.
Go to Delete Orders Extension.
Install this extension via Magento Connect Manager.
Magento Connect -> Magento Connect Manager
Magento »
I have this problem with my magento set up wherein I get this unsual links with Session ID’s. Example:
http://www.myserver.com/magento/index.php/?SID=uGpHL6O5fs19mruxJmD2tTsXtZtNvCuxwYuTr3pUub4=
Now, I have been using an htaccess to redirect:
http://dev.myserver.com/
into
http://www.myserver.com/
And I found out in the forums that the session ID is transfered in URL whenever there’s a change in the host name, so the session would be transfered to the next page.
Usually session ID is kept in the cookie, but cookies can’t be shared between different domains, so it has to be transferred in URL.
This is Magento’s functionality, not PHP, so changing …
Magento, PHP »
Guys,
Magento has this problem with it’s upload image and browse images in the Manage Product page. Error console is saying:
throw new Error(myErrorMessage[1]);
Source file: “/js/lib/flex.js ”
The problem is that the upload code is not compatible with Flash Player 10.
a workaround is to first uninstall the flash player 10, and then download and install flash player 9:
uninstall your flash plugin/activeX through:
http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player.exe
install the old Flash 9 through:
http://download.macromedia.com/pub/flashplayer/updaters/9/flash_player_update6_flash9.zip
I know this is a short term solution. But Flash player 10 does this on purpose to prevent a security exploit. I guess the magento community will …
Headline, Magento »
Using Magento’s Paypal Standard Payment Method, I was having problem checking out my payments. I am having this error:
One reason maybe that Paypal does not allow you (buyer) to ship to country that is different from the country you specify when you open your Paypal account.
The solution is to edit the address_override variable in this file:
app/code/core/Mage/Paypal/Model/Standard.php on line 158
which says ‘address_override’ => 1, . Comment it out (using // in front) save it and try out your paypal standard checkout.
It should be working but the customer data …
Magento »
OK, This is to change the default logo that you see on in your Magento PDF Invoices or Magento Invoice Printouts.
In your Admin Console. Go to Configuration -> Sales -> Invoice and Packing Slip Design
Delete the Logo by checking the Delete Image box, or simple upload your own logo. It seems that the logo extension has to be *.jpg. And your logo should be 200 x 50 px, otherwise the pdf generator would scale whatever image you give it to 200 x 50 px.
Save Config.
Done. And You got it.













