w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
  Home » MAGENTO » Page 1
Configurable product options not showing the options on Frontend
This problem took me a day to figure out what was wrong and now I finally have an answer to my own problem. Great Tip: Always check for jquery conflicts for this type of issue. thanks to @Chiragit007 for the hint.

Categories : Magento

Unable to display products of home page in Magento 1.9
Login into magento admin Now click on any product which you have created Now Set Product as New from Date and Set Product as New to Date Now go to CMS home page now click on content then click on show/hide editor then click on insert widget now select Catalog new Product list then save. Now clean magento cache and check in frontend

Categories : Magento

Magento - 'New Products' list on homepage incorrectly showing all products
You can do following: Navigate to System > Index management and reindex data. Go to System > Cache management and refresh all cache. You can also clear cache manually by deleting content of /var/cache/ folder

Categories : Magento

Magento 1.9.0 / M2EPro 6.2.2 / Siteground (???)
I run UnderstandingE.com, earlier this year when researching hosts to suggest to the community, we looked at SiteGround. The thing is that their basic packages don't actually meet the basic requirements for M2EPro. When M2EPro had the hosting requirements in versions < 6.1 they weren't being met and this will cause issues with order collection and synchronizations. In the UK we suggest Simple

Categories : Magento

Magento : Is there anything missing? if I am adding this script in head.phtml then page is not rendered well in IE. My code as below
Instead of writing directly in head.phtml you can add the CSS with IE condition using page.xml (app/design/frontend/default/YOUR_THEME/layout) as below : <action method="addItem"> <type>skin_css</type> <name>css/styles-ie.css</name> <params/> <if>lt IE 8</if> </action> Let me know if you need further explanations or help.

Categories : Magento

Replace Price Difference with Actual Price in Magento Configurable Product Options 1.9
This is performed by javascript. You need to modify the method getOptionLabel in js/varien/configurable.js The first few lines of the method look like this: getOptionLabel: function(option, price){ var price = parseFloat(price); You need to change it to: getOptionLabel: function(option, price){ var basePrice = parseFloat(this.config.basePrice); // 'price' as passed is the RELATIVE

Categories : Magento

Adding merchants/sellers to magento site
There are three good market place extension. You can check their features as per your requirement: https://store.webkul.com/Magento-Extensions/Magento-Marketplace.html https://secure.unirgy.com/products/umarketplace/magento-multi-vendor-marketplace https://www.apptha.com/magento/marketplace

Categories : Magento

Fatal error: Class 'Demo_Test_Helper_Data' not found in F:wampwwwmagentodemoappMage.php on line 546
try to below config file. <?xml version="1.0"?> <modules> <Demo_Test> <version>0.1.0</version> </Demo_Test> </modules> <config> <global> <models> <test> <class>Demo_Test_Model</class> </test>

Categories : Magento

Can we use "paypal payment method" for indian shopping website
Just to let you know PayPal have introduced auto withdrawal policy for Indian Accounts in order to follow the guidelines of Indian Government which ultimately leads that Indian PayPal account can't store their PayPal money within their account and it will be deducted automatically at certain interval. This leads to no shopping or mere shopping scenario for Indian customers through their PayPal Acc

Categories : Magento

Magento 1.8 always redirect to store home page,
If the problem occured due to cookie than try the below method can work for you.If you are not able to log in to your admin panel than check values for cookies in magento database. In phpmyadmin find table core_config_data, then fields with values : web/cookie/cookie_domain and web/cookie/cookie_path. They may be blank ni your case. My solution was to set: web/cookie/cookie_domain to my domain n

Categories : Magento

how to implement custom theme in magento 1.9
Go to youtube.com and type: install magento theme you may also check out the videos of LevelUpTuts for more information on the magento theme directory structure etc. Hope this helps.

Categories : Magento

Display text when Select is chosen
I don't know magento, but this seems just to need a JavaScript (well PrototypeJS) solution, so try this: <script> document.observe('dom:loaded', function() { $$('[name^=bundle_option]').invoke('observe','click',function(e) { var el=e.element(), output=$('designator'); if(el.nodeName=='SELECT') { output.innerHTML=el.options[el.selectedIndex].tex

Categories : Magento

How can I add bundle product group price?
I think you want to create a 'Grouped product' instead of a 'Bundled product'. For a bundled product, without any serious coding, this is just not possible unless you are working with pricerules on the bundled product (with its caveats).

Categories : Magento

Magento decimal place format from 4 to 2 in soap api cart info
You can use this php function for specific format <?php /* english notation without thousands separator*/ $english_format_number = number_format($number, 2, '.', ''); /* 1234.57 */ ?>

Categories : Magento

Adding product description , product image etc in custom Transactional Email for New order
I dont think u need to load product object in email template it is already loaded if not u can do that but sure u dont need sales order object that sure. appdesignfrontenddefaultimsov2 emplateemailorderitemsorderdefault.phtml <?php echo $this->escapeHtml($_item->getDescription()) ?> and so on...

Categories : Magento

Where to store custom list of values in Magento
you can create a datatable that stores them. additionnaly, you will need to create the according model and define them in a config.xml under a ressource tag. if you just need to store a value, you can do it in the core_config_data.

Categories : Magento

Can't show products on Magento 1.9 home page
You don't have a category id in the block. Try adding category_id="ID", for example {{block type="catalog/product_list" category_id="2" name="home.catalog.product.list" alias="product_homepage" template="catalog/product/list.phtml"}}

Categories : Magento

Different checkout pages based on product category in Magento
First, create the new payment method for the category (and shipping method if you need that too). http://www.magentocommerce.com/wiki/5_-_modules_and_development/payment/create-payment-method-module http://www.magentocommerce.com/wiki/5_-_modules_and_development/shipping/create-shipping-method-module Then I would probably extend the controller, though you probably could also use an observer.

Categories : Magento

Magento Tax Calculation with Coupon Code
Look under System > Configuration > Tax Under Calculation Settings, you can set when the tax is applied; either Before Discount or After Discount

Categories : Magento

Add total cost field in sales order report magento
Finally I have done with the same. I have made corrections in three files to get the total cost field in sales order report. First of all copy this three core files to local folder. 1.Add total cost app/code/local/Mage/Sales/Model/Resource/Report/Order/Createdat.php in columns array around line number 95 'total_base_cost' => new Zend_Db_Expr('SUM(oi.total_base_cost)') Dont forg

Categories : Magento

Magento XML - Difference cms_index_index and cms_index_defaultindex
<cms_index_index> is your CMS home-page, as set in Magento Admin (system config). <cms_index_defaultindex> is the page rendered when the one CMS page set as the "homepage" in your Magento is not available. As you can see from the code of Mage_Cms_IndexController class, defaultIndexAction method is the "404 Not Found" page.

Categories : Magento

Magento & Varnish / Turpentine, Zero-hit rate
Here's some steps to troubleshoot: Get Varnish Working on its own: Your varnishd should be running with several parameters, here's samples from my Ubuntu Server install (/etc/defaults/varnish): -a :6081 public port -- this is the port webbrowsers will use -T localhost:6082 admin port -- this is used to configure varnish -f /etc/varnish/default.vcl initial VCL config file (see below) -- the con

Categories : Magento

magento how to check which delivery option is selected
You can add code in app/design/frontend/[theme]/default/template/checkout/onepage/shipping_method/available.phtml <script> jQuery(document).ready(function(){ jQuery('[name="shipping_method"]').click(function(){ /*write your code here, clicked button of shipping method is checked or not*/ }); }); </script>

Categories : Magento

Magento 1.7.0.2 Checkout shipping
Try this: <script> jQuery.noConflict(); if (jQuery("#s_method_flatrate_flatrate").is(":checked")){ jQuery('#the_button').hide(); jQuery('#the_other_button').show(); } </script> $ is also used by Magento's default prototype.js, which will conflict with jQuery's $.

Categories : Magento

Magento setup doesn't save customer attribute option values?
Try something like this $installer->addAttribute('customer_address', 'geslacht', array( 'label' => 'De heer', 'type' => 'varchar' )); $installer->addAttribute('customer_address', 'geslacht', array( 'label' => 'heer', 'type' => 'varchar' )); // and so on $installer->endSetup(); HTH Good Luck

Categories : Magento

get data from sales order and sales order item in magento
try below code foreach ($collection as $c) { $order = Mage::getModel("sales/order")->load($c->getId()); $ordered_items = $order->getAllItems(); foreach($ordered_items as $item){ echo $item->getItemId(); echo $item->getSku(); - } echo $c->getCustomerName() . " " . $c->getCustomerEmail() . " " . $c->getCreatedAt() . " "; }

Categories : Magento

how to show individual discount applied while chackout?
To get the individual discount amount for each product while checkout, you can do as below : $quote = Mage::getSingleton('checkout/session')->getQuote(); foreach ($quote->getAllItems() as $item){ $discount = $item->getDiscountAmount(); // $discount is the discount amount for the individual item }

Categories : Magento

tax section in magento backend disappeared under sales
I suspect an module that you have installed is blocking the access to the tax section. Try disabling all the none core modules and enable them one by one to figure out which one is responsible for not giving you access. Also relogin in the admin every time (disable & refresh cache every time). If its still missing when you have disabled all the modules, try a reinstall of the core files.

Categories : Magento

custom tab to product detail page fro configurable products only
You should add your code in "PRODUCT_TYPE_configurable" handle in catalog.xml instead of "catalog_product_view" . Start fro 275 line change : <PRODUCT_TYPE_configurable translate="label" module="catalog"> <label>Catalog Product View (Configurable)</label> <reference name="product.info"> <block type="catalog/product_view_description" name="product.description" as="de

Categories : Magento

Magento, category, details button
Generally, I believe that the templates associated with products would be located in the app/design/frontend/default/your_theme/template/catalog/product/ However, I am unsure of your site template files etc, especially if you are doing things yourself. To make your life easier, I would suggest installing a program called Agent Ransack which I have found to be invaluable when searching for a ne

Categories : Magento

Customized backend interface in Magento
It's possible to customize the Magento backend.Please try this way. But developer must be the main admin user and client be the second admin user.Because the main admin user can set privileges for other users. Step 1: Create a New User From the Admin menu, select System > Permissions > Users. Click the Add New User button. In the Account Information section, do the following: Enter the User

Categories : Magento

Magento wysiwyg editor insert variable in static block not working
Try this way to add base url in your static block: <a href="{{store url='abc'}}">Link to Base URL</a> That should create a link to your store's base URL.

Categories : Magento

Magento - Shopping Cart Price Rules
We seem to be having the same issue, running Magento 1.9. One solution we have found is to run a cron-job to apply the categories to the simple products of a configurable product. This should work, but I don't like the solution at all - very surprising a bug like this has made it all the way to version 1.9.

Categories : Magento

Category Url Issue - It changes to catalogsearch URL in fronend
Try this way to add category url in your static block: <a href="{{store url='category.html'}}">Link to Base URL</a> That should create a link to your store's base URL.

Categories : Magento

How can I make a dynamic canonical tag on Magento's internal search?
We generally recommend to hide internal site search from getting indexed ( you can do that with the standard "NOINDEX, FOLLOW" tags). But if for some reason you really need to index it, here is the simplest code that lets you add a canonical URL. Please note that in this case we use the default search. In this code, the canonical URL contains only the search query, without any filters. /app

Categories : Magento

Add a header and footer to magento through XML update
You need to update PHP code for your header section. There is no such way to get data and simply add that in header or footer in Magento (CMS). XML are used to import data only such as images, text, music etc. If you have any concern, let us know anytime. Thank You

Categories : Magento

Magento export customers who are not unsubscribed
You can change code like this $collection = Mage::getModel('customer/customer')->getCollection(); $collection->getSelect()->joinLeft(array('ns'=>'newsletter_subscriber'), 'ns.customer_id=e.entity_id', array('substatus'=>'ns.subscriber_status') ); foreach($collection->getData() as $customer){ if($customer['substatus']!=1){ print_r($customer); } } you can mod

Categories : Magento

Magento - Expected Delivery date on Transactional Email
You will have to extract it from order or shipping object then send it to transactional email variable and then you can get that variable in your email template.eb if your variable is var1 then you can get in email template like {{var var1}}.if you can explain it more i can define it more way Thank you

Categories : Magento

Magento backend showing blank pages after login?
This error was coming due to some entries in table "adminnotification_inbox" . I don't know why this happened.I just empty this table and my admin works fine but as soon as this table have entry same problem occurs, So After empty that table I disable admin notification from following location:- System->Advanced->Disable Modules Output Mage_AdminNotification This solved my problem.

Categories : Magento




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.