magento-1.7

Show error message in guest subscriber if user already subscribe with that Id

冷暖自知 提交于 2019-12-11 05:46:09
问题 I am using magento default newsletter subscriber. I found that the error There was a problem with the subscription: This email address is already assigned to another user. will be shown only if the subscriber has an account in magento store. If the subscriber is a guest customer then the error will not be shown, A success msg will be shown stating Newsletter Has been subscribed. How can I show message in guest subscriber also. 回答1: You should edit the following file : /app/code/core/Mage

Extending / overriding extension in Magento

落花浮王杯 提交于 2019-12-11 05:39:39
问题 I have an extension installed and I want to use its funcionality from my modules. The postAction in that extension is where all happens. It uses youtube API to retrieve a video information and save it on several tables on the Magento EAV data model. Already have a functional module that I created to test youtube API functions using just a button and a text box to send some search term. But now I want to do it automatically using the extension funcionalities to make that call and fill in the

Magento 1.7 Add attribute to category

↘锁芯ラ 提交于 2019-12-11 05:37:28
问题 I'm trying to add to the field list of the categories a new text field called "website_url". I found many tutorials but none works on magento 1.7. I created a new module as following : -code\local\SaponeWebConcept\CategoriesAttributes\sql\categoriesattributes_setup\mysql4-install-0.1.0.php : <?php $installer = $this; $installer->startSetup(); $installer->addAttribute('catalog_category', 'website_url', array( 'type' => 'text', 'backend' => '', 'frontend' => '', 'label' => 'Lien du site',

Magento form validation only works on the last checkbox in a group

孤街醉人 提交于 2019-12-11 02:24:13
问题 I am using the built-in Magento form validation to ensure the user makes a selection on a particular group of radio boxes. The code below looks fine however <div class="input-box"> <li class="control"> <input type="radio" class="radio organisation_type" value="1" id="billing:organisation_type_1" name="billing[organisation_type]"> <?php echo $this->__('School') ?></li> <li class="control"> <input type="radio" class="radio organisation_type" value="2" id="billing:organisation_type_2" name=

Table Rate Shipping in Magento 1.7 with Wildcards not Working

北城余情 提交于 2019-12-10 19:59:24
问题 Magento 1.7 does not calculate the the shipping costs correctly when i upload a CSV with "*" wildcard in the "Country", "Region", "ZIP". Magento always shows the first shipping price even with cart subtotals above 500. Is this a known bug? Did i do anything wrong? Any ideas? my CSV: https://dl.dropbox.com/u/2499022/TRS-WildCards.png Regards Paul 回答1: According to this guy you must ALWAYS use country codes, otherwise PHP throws a notice of undefined index. We settled for the 3-letter country

Getting configurable product options pre selected from the layered navigation

独自空忆成欢 提交于 2019-12-10 18:48:06
问题 I have several configurable products (with many simple products associated to them). When browsing the super attributes through the layered navigation, you can filter down to all products that have (for instance) size= medium, Colour = Red. I have set my simple products to not be visible and showing my configurable products, however, when you select the configurable product, the product options do not default to what has been filtered in the layered navigation. Is there a way to get the

Magento 1.7 price filter error (Column not found: 1054 Unknown column 'e.min_price' in 'where clause')

蓝咒 提交于 2019-12-10 17:33:05
问题 In my productlist, when I filter on price, I get this error. Does anybody know, how to fix this? SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.min_price' in 'where clause' Trace: 0 /var/www/vhosts/domain.nl/httpdocs/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array) 1 /var/www/vhosts/domain.nl/httpdocs/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array) 2 /var/www/vhosts/domain.nl/httpdocs/lib/Zend/Db/Adapter/Abstract.php

ssl error invalid or self-signed certificate magento image upload

家住魔仙堡 提交于 2019-12-10 16:46:14
问题 ssl error invalid or self-signed certificate magento image upload Any have solution for this error.Please rectify my problem 回答1: In my case it was because of .htaccess password protected website. Removing temporarily the password protection fixed the problem. 回答2: In the Base URL fields you should enter the unsecure (regular) web site URL and the web site URL for the SSL connections. You can leave the other values unchanged, as they will be set automatically by the script after you enter the

Shopping cart items not showing in customer view

◇◆丶佛笑我妖孽 提交于 2019-12-10 14:59:05
问题 Running Magento 1.7.2. When inside the customer view in the administrator it shows 1 item in the customers cart but not the details. I’ve attached a screen shot. Does anyone know what the issue could be or can you verify that it’s working properly so I know it’s my installation? Thanks. View Screenshot Here 回答1: [Solved] on app\code\core\Mage\Adminhtml\controllers\CustomerController.php 1.7.0 public function viewCartAction() { $this->_initCustomer(); $layout = $this->loadLayout() ->getLayout(

Currency Symbol in magento

依然范特西╮ 提交于 2019-12-10 14:46:05
问题 I have created two Magento Store Views in two Different Languages: English Dutch English (EURO) Currency symbol comes in proper manner like € 20.00 but for Dutch Language view it shows me like 20,00 EUR. I wants to setup by default symbol € for both views since the EURO is the same. How can i achieve it in Magento. 回答1: You can change your locale setting here is example for English. For that you have to do Minor changes in your Language File. Following is the Directory Structure of File. =>