magento-1.9

Magento 1.9 redirect customer after registration

♀尐吖头ヾ 提交于 2019-12-30 11:33:05
问题 I would like to redirect all customers to a custom page after successful registration in Magento 1.9. I have tried many things. Firstly, I am successfully overriding the core customer account controller. I have attempted to customize the following actions: createPostAction _successProcessRegistration _welcomeCustomer By trying to set redirect url or by setting BeforeAuthUrl //$successUrl = $this->_getUrl('*/*/index', array('_secure' => true)); $successUrl = $this->_getUrl('*/*/success');

Override Magento Contacts Controller

限于喜欢 提交于 2019-12-29 09:09:38
问题 I'm trying to override Mage/Contacts/IndexController.php I created a folder in local and created Mynamespace/CustomContacts/controllers/IndexController.php <?php require_once 'Mage/Contacts/controllers/IndexController.php'; class Mynamespace_CustomContacts_IndexController extends Mage_Contacts_IndexController { protected function indexAction () { die; } } I also put this code in Mynamespace/CustomContacts/etc/config.xml <config> <frontend> <routers> <contacts> <args> <modules> <Mynamespace

How can i solve product export error

拥有回忆 提交于 2019-12-25 06:13:32
问题 I have try to export my all products, but only minimum of products only exported, whole product not exported, which means 100's of products successfully imported, and my whole products not exported, in my store 30,000 products, i have tried both export : Errors : system - import/export - export error: http://i.stack.imgur.com/C5y2X.png system - import/export - dataflow profiles - export all products error: (500 internal server error) http://i.imgur.com/PkRsHxQ.png 来源: https://stackoverflow

Category Id coming same all the time in different category page magento 1.9

扶醉桌前 提交于 2019-12-25 00:01:47
问题 Hello I know this is simple question but I don't get any solution in here. So I am going to ask. I am using magento 1.9, In category page I have widget on left sidebar to display current category's all product. When I change the category, for example if I am on saree's page then if I go to Dress page then in left sidebar the old category that is saree's product are displaying. I think category id is coming from cache that is not changing it is remain same. I write following line to fetch the

Magento Rest Api Invalid XML

早过忘川 提交于 2019-12-24 07:09:09
问题 Hi I am trying to access Magento Rest Api through http://magentostore/api/rest. But I am getting response <SOAP-ENV:Envelope> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>Sender</faultcode> <faultstring>Invalid XML</faultstring> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> . Does anybody have any idea regarding this. Why I am recieving this error 回答1: You will need to adjust your .htaccess file. Uncomment Line 12 Options -Multiview This turns off Multiview and your rest api should

Magento Fatal error: Call to a member function getSortedChildren() on a non-object

雨燕双飞 提交于 2019-12-23 10:09:54
问题 I have installed Magento CE 1.9 version and getting error after calling Catalog on Home page. Issue seems to be related with list.phtml . ERROR : Fatal error: Call to a member function getSortedChildren() on a non-object in mageinc\app\design\frontend\rwd\default\template\catalog\product\list.phtml on line 74 I didn't change anything after installation and it seems this issue came with Magento 1.9 edition. Issue is occurring for both List and Grid view on Catalog page as it is being called

Magento - JavaScript error prevents adding and saving of categories

半城伤御伤魂 提交于 2019-12-23 08:53:48
问题 I am trying to add a new root category on a local install of Magento CE 1.8.1, however when I press the save category button, I get the following error in the console and nothing happens on screen. I have tried to reinstall all the core files etc but nothing seems to fix this issue. Uncaught TypeError: Cannot read property 'split' of undefined 回答1: This is a Javascript error in the ajax routine that sends the form data to the Magento server. The code that is causing the error is var path =

Magento - Add attribute to customer entity

痞子三分冷 提交于 2019-12-20 12:22:03
问题 For two days I have been trying to add new customer attribute to the magento database. But it isn't working. I added a simple nickname input field to the register.phtml and edit.phtml following this tutorial: http://www.magentocommerce.com/wiki/5_-_modules_and_development/customers_and_accounts/registration_fields Here is the inherent forum post: http://www.magentocommerce.com/boards/viewthread/9620/ The attribute is added to the database table eav_attribute , but the value doesn't appear in

SUPEE 6788 and Password Reset (blank page)

戏子无情 提交于 2019-12-17 23:44:44
问题 I've installed SUPEE 6788. Then noticed that password reset page is blank when you click on the reset link in the email. Any ideas how to make the reset page to show up ? Previously reset page use to be this /customer/account/resetpassword/ After patch update it's /customer/account/changeforgotten/ and it's blank Tech description from the Patch APPSEC-1027, Insufficient Protection of Password Reset Process This change affects templates by adding form_key to customer registration page template