magento-1.5

Magento upfront payment

空扰寡人 提交于 2019-12-22 01:09:33
问题 For a future project we have been assigned to create a simple concept (inside Magento) that would has to do the following: A customer has the ability to choose between different shipping methods, one of them being "Ship2Shop", which sends the product to a physical store of choice and the customer has to go an pick it up. When a customer selects this "ship2shop" shipping method, a certain percentage (eg: 25%) of the total amount has to be paid online (via a pre-defined payment method) and the

Magento - AJAX Call Product Page Elements to Category Page. Select Box Not Populated

血红的双手。 提交于 2019-12-20 05:58:16
问题 I'm trying to create an ajax 'quick view' or 'quick cart' type feature on my Magento store. The kind of one where you hover over a product and have the option to 'quick view' it in a lightbox instead of going to the product page. I'm using a very simple jQuery Ajax call like this: $j('#ajaxquickviewcontent').load("http://websiteaddress/category/productname.html .product-view").ajaxComplete(function(){alert ('Done');}); With this method I get all of the content I'm after (i.e. product image,

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

How do I know whether my Config.xml file is working in Magento?

守給你的承諾、 提交于 2019-12-19 05:08:06
问题 I have created a sample module, but I am not sure if its /module/etc/config.xml file is getting loaded. I am sure there is a problem in that only. Is there a way that I can find out whether this file is getting loaded? 回答1: If you have a good debugger Xdebug or Zend Debugger, you can check the variable $mergeToObject in the method loadModulesConfiguration of the class Mage_Core_Model_Config . Or the bad guy way :-), you die the script at the same place but just before return $mergeToObject;

Magento - multiple classes extending same core class

女生的网名这么多〃 提交于 2019-12-17 23:17:11
问题 I'm sure we've all run into a situation where you have multiple extensions with a block or model that rewrites the same core block/model. The problem I've run into is this: How do you control the order in which Magento sees these classes? For example, let's say we have 2 extensions with the following 2 classes: Class A config.xml <catalog> <rewrite> <product_view>My_ClassA_Block_Catalog_Product_View</product_view> </rewrite> </catalog> My/ClassA/Block/Catalog/Product/View.php class My_ClassA

How to create new fields for customer

江枫思渺然 提交于 2019-12-17 15:35:33
问题 I am developing a website with magento ver-1.6. I am try to create new fields for customer registration, but it not created. I followed the same way what we followed in ver-1.5. Any variation in create customer fields in 1.6? 回答1: I don't know what you tried so I'm just going to list all the steps needed to add a new schooL customer attribute to the Magento 1.6.1 registration form. Create a module preferably, or place similiar code to this in some .phtml file and run it once. If you're doing

How do I setup Hole Punching in TinyBrick's Lightspeed for Magento

六月ゝ 毕业季﹏ 提交于 2019-12-13 04:57:25
问题 I am using TinyBrick's Lightspeed module for whole page caching and am trying to setup Hole Punching. I'm following the directions at: http://blog.delorumcommerce.com/general/90-percent-lightspeed-traffic-fast-but-i-need-more I have edited my template's header.phtml so that it contains the snippet: <!-- TEST HOLE PUNCH --> <!-- NOCACHE key="topMenuLinks" --> <?php echo $this->getChildHtml('topCart') ?> <!-- ENDNOCACHE --> <!-- END TEST HOLE PUNCH --> If I visit a page with nothing in my cart

Forgot password not sending email

﹥>﹥吖頭↗ 提交于 2019-12-13 02:49:58
问题 Wonder if you can help me. I have a Magento installation and when a customer selects "forgot password" the system does NOT send the reset password email. All the other emails are working fine. I have setup the New Password template and assigned it in the admin of Magento. I can't for the life of me figure out why only the Reset password emails are not sending and the others are. Please help. Thanks, Ev 回答1: To solve the issue it is enough to delete the custom customer.xml used by your theme

Magento not sending forgot password emails

…衆ロ難τιáo~ 提交于 2019-12-12 18:21:47
问题 When a customer tries to reset their password Magento is not sending the emails. I do know that Magento is resetting the password but the mails are just not sending out Here is the code that sends the mails I think. Please help. public function sendPasswordReminderEmail() { $translate = Mage::getSingleton('core/translate'); /* @var $translate Mage_Core_Model_Translate */ $translate->setTranslateInline(false); $storeId = $this->getStoreId(); if (!$storeId) { $storeId = $this->

Show recent_viewed products on product Page

℡╲_俬逩灬. 提交于 2019-12-12 09:04:59
问题 The Current default functionality of magento is that it shows the recently viewed products on right side of category page. Now I would like to display the same content on at the bottom of product page. the phtml file used is named at location as frontend/base/default/template/reports/product_viewed.phtml . Is there any simple way to do it ? 回答1: In your theme you will modify the catalog.xml file (/app/design/frontend/{your theme}/default/layout/catalog.xml). Find the following section and add