magento-1.7

Manually Cancel An Order

╄→гoц情女王★ 提交于 2020-01-25 05:51:26
问题 I have some orders that need to be cancelled but because they originally were pre-authorized through auth.net, they will not cancel. I get a "no transaction found" message when trying to cancel/void. Because of this I simply want to cancel the orders manually in the database and skip the standard void process. Does anyone know the specific tables in the Magento database that need to be modified to simply cancel an order? 回答1: Be careful with this. The Table in 1.7 is sales_flat_order .

Magento 1.7 Override Pdf Classes

血红的双手。 提交于 2020-01-17 10:21:37
问题 I tried to override Pdf classes for making changes toInvoice/Shipment/Creditmemo pdf but it doesnt seem to reflect. I created a module with following in the Mymodule/etc/config.xml <config> <modules> <Mymodule_Printtemplates> <version>0.1.0</version> </Mymodule_Printtemplates> </modules> <global> <models> <sales> <rewrite> <order_pdf_abstract>Mymodule_Printtemplates_Model_Order_Pdf_Abstract</order_pdf_abstract> <order_pdf_invoice>Mymodule_Printtemplates_Model_Order_Pdf_Invoice</order_pdf

Magento 1.7 Override Pdf Classes

[亡魂溺海] 提交于 2020-01-17 10:21:29
问题 I tried to override Pdf classes for making changes toInvoice/Shipment/Creditmemo pdf but it doesnt seem to reflect. I created a module with following in the Mymodule/etc/config.xml <config> <modules> <Mymodule_Printtemplates> <version>0.1.0</version> </Mymodule_Printtemplates> </modules> <global> <models> <sales> <rewrite> <order_pdf_abstract>Mymodule_Printtemplates_Model_Order_Pdf_Abstract</order_pdf_abstract> <order_pdf_invoice>Mymodule_Printtemplates_Model_Order_Pdf_Invoice</order_pdf

How to upgrade Magento from 1.7 to 1.9

余生长醉 提交于 2020-01-15 12:13:25
问题 I need to upgrade my magento store form 1.7 to 1.9. I am very new to magento, I was just wondering what is the easiest way to upgrade without breaking my website. Thank you 回答1: Upgrade Roadmap for CE 1.9.0.1 from 1.7 take a backup of current database and current 1.7 code. download latest magento from the http://www.magentocommerce.com/download remove all folders and files from your 1.7 code (but you should have backup somewhere) and place all folders and files from the 1.9. now from your 1.7

How to upgrade Magento from 1.7 to 1.9

风流意气都作罢 提交于 2020-01-15 12:13:23
问题 I need to upgrade my magento store form 1.7 to 1.9. I am very new to magento, I was just wondering what is the easiest way to upgrade without breaking my website. Thank you 回答1: Upgrade Roadmap for CE 1.9.0.1 from 1.7 take a backup of current database and current 1.7 code. download latest magento from the http://www.magentocommerce.com/download remove all folders and files from your 1.7 code (but you should have backup somewhere) and place all folders and files from the 1.9. now from your 1.7

Magento Reindexing Data - Risks

瘦欲@ 提交于 2020-01-14 19:21:13
问题 I have a Magento site in which the cross-selling products do not seem to be appearing. After looking on Stack and Google it seems that 'reindexing the data' has solved this issue for a lot of individuals. My question is, are there any risks associated with performing this task? Or is it a relatively straight forward procedure? 回答1: Indexing is a fundamental part of Magento and will not effect your site in a negative way. Magento uses a complex EAV (entity-attribute-value) database structure

How to add menu in magento admin panel?

寵の児 提交于 2020-01-14 05:31:06
问题 I am looking for some advice or information on how to do the following. I want to add one more menu in magento admin panel. I am trying many ways but not working. How can i add extra one menu in admin panel. please advise... 回答1: If this is your custom module what you need to do is in etc/config.xml add the following: <adminhtml> <menu> <report> <children> <module name> <title>Title to show in the menu bar</title> <sort_order>0</sort_order> <action>Modules controller action</action> </module

Setting Custom Options while adding a product to cart via SOAP in Magento

走远了吗. 提交于 2020-01-11 10:24:14
问题 I am trying to use the shoppingCartProductAdd SOAP API to add a product with Custom Options to cart. Below is the array I am passing for the products parameter. I've a custom option id 1 for which the selected value id in the dropdown is 2. (you can view the product here) array (size=1) 0 => array (size=3) 'product_id' => int 25 'qty' => int 1 'options' => array (size=1) 1 => int 2 This product gets added to the cart but when I retrieve the cart details / totals, it does not reflect the

Magento 1.7 Filter products by multiple categories

大兔子大兔子 提交于 2020-01-11 07:23:06
问题 I am looking for a way to filter the products being returned on a category page by the current category AND an optional sub-category. Every solution I have seen so far has been 'show products that are in category-a OR category-b'. Which file do I need to edit to filter a product collection by an additional, optional category id passed as a query parameter (e.g. ?catfilter=32 )? 回答1: look here: http://vibrantdrive.com/how-to-filter-magento-products-using-2-or-more-category-filters/ To get

Magento: Increase “Qty” upon cancel a shipped order

不打扰是莪最后的温柔 提交于 2020-01-11 06:57:29
问题 I'm on Magento 1.7.0.2. I'm using "Cash On Delivery" as my payment method.I'll tell you exactly the steps That i follow on any order. When an order is placed(Qty decreased 1 item), I create a shipment for it and if customer paid the order grand total price. I create an invoice for that order. My problem, If an order is placed(Qty decreased 1 item), I create a shipment for this order. If the customer refused to pay, I open this order and "Cancel" it and on this case the "Qty" doesn't increase