magento-1.8

Magento 1.8.0 and 1.8.1 issue with special price

二次信任 提交于 2019-12-24 01:24:57
问题 I have fond a bug on Magento CE 1.8.0 and 1.8.1 that is related to special price. If I set some special price on product and save that change, magento sets current date for Set Product as New from Date (news_from_date), Special Price From Date (special_from_date) and Active From (custom_design_from). After these values are set I'm unable to remove them both grammatically and using admin panel. Has anyone found reason for this issue and how to fix it. P.S. This was ok on CE 1.7.2 回答1: It's a

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 Product to cart with custom price using observer

情到浓时终转凉″ 提交于 2019-12-23 06:21:16
问题 i have an input in product page that allows to customers to change the price : i followed that tutorial : http://magentotutorial.org/programmatically-add-product-cart-price-change-magento/ and this is my code : config.xml : <events> <core_block_abstract_to_html_after> <observers> <customprice> <type>singleton</type> <class>WebDirect_CustomPrice_Model_Observer</class> <method>convertPricespanToInput</method> </customprice> </observers> </core_block_abstract_to_html_after> <checkout_cart

Custom Product Collection not Getting Filtered by Layered Navigation

折月煮酒 提交于 2019-12-22 18:27:11
问题 I had Overridden the product List.php Class & here is the code protected function _getProductCollection() { if (is_null($this->_productCollection)) { $result = array_unique($productIds); $collection = Mage::getResourceModel('catalog/product_collection'); $attributes = Mage::getSingleton('catalog/config')->getProductAttributes(); $collection->addAttributeToSelect($attributes); $collection->addIdFilter($result); Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection(

dbModel read resource does not implement Zend_Db_Adapter_Abstract

自作多情 提交于 2019-12-22 17:37:50
问题 i am facing a situation where i can't find any solution. My website was working fine till i installed a new extension. After installing this extension my website and admin panel is not working. Actually i have installed lower version extension because i didn't noticed version and installed. I am getting this stack trace :- dbModel read resource does not implement Zend_Db_Adapter_Abstract Trace: #0 /home/krishangrover/public_html/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract

Magento 1.7+: How to use the page layout handle

ε祈祈猫儿з 提交于 2019-12-21 20:57:08
问题 After trying to debug for hours I'm out of ideas and hope for some clarification (I guess I missunderstood a concept at some point). The backstory: Some base categories need an "overview page" which should be generated automatically from child categories and products. So my approach was to add a sub category to every base category and create a custom page layout which is being used from all these sub categories. For my client this would be very easy to manage in the Magento backend since he

Magento error when I try to add special price from admin

我们两清 提交于 2019-12-21 05:29:21
问题 The error I get is: Invalid backend model specified: catalog/product_attribute_backend_startdate_specialprice This is a local copy of magento but I would not want to have to recreate the entire thing on the live site..any ideas on what I can do to fix this? 回答1: The above solution didn't work in my case as I didn't develop any module therefore couldn't find any file named "specialprice" in the above mentioned path. I have installed a module and it changed the "specialprice" backend path in

conflicting two magento extension

孤人 提交于 2019-12-19 11:39:32
问题 I have two same extension but both are using for a different-different purpose. Extension A Config.xml <config> <modules> <Mageworks_Fee> <version>0.1.5</version> </Mageworks_Fee> </modules> <global> <sales> <quote> <totals> <fee> <class>fee/sales_quote_address_total_fee</class> <renderer>fee/checkout_totals_fee</renderer> <admin_renderer>fee/adminhtml_sales_order_create_totals_fee</admin_renderer> </fee> </totals> </quote> <order_invoice> <totals> <fee> <class>fee/sales_order_total_invoice

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

Run magento product import cron

淺唱寂寞╮ 提交于 2019-12-13 08:25:27
问题 I found this solution online and found more similar to this. I need to run a profile same like this. It is a custom product import. What I want to know is how I can select the correct csv file in this script? 回答1: I got this done by creating a frontend controller using the admin product import controller. Then wrote a script to call the frontend url using php curl. frontend Layout xml <layout version="0.1.0"> <importproduct_cronimport_run> <remove name="footer" /> <remove name="top.search" />