Magento Tutorial – SSL setup in Magento Possibly Related Posts: Magento Hosting Performance Benchmark Simple Google Shopping – Magento Connect Magento Facebook & Twitter All in One Module — BelVG Extensions Store for Magento Indexa e Allpago lançam novo gateway de pagamentos para Magento | Indexa Internet Magento – Attach static PDF file to outgoing [...]
Archive:
Archive for February, 2012
Summary I want to create a product attribute that is not saved to products, or displayed on the product edit page like ordinary product attributes. Instead I want it to be saved to order/quote items and displayed on orders, invoices and such. It should also be configurable by the customer in the frontend before adding [...]
I added a new tab into the Magento admin at Product Management to view ERP data. Added the following files: class Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Erp extends Mage_Adminhtml_Block_Widget { public function __construct() { parent::__construct(); $this->setProduct($this->getProduct()); $this->setTemplate(‘Purchase/Product/Edit/Tab/SupplyNeedsSummary.phtml’); } /** * Return current product instance * * @return Mage_Catalog_Model_Product */ public function getProduct() { return Mage::registry(‘product’); } } and… class MDN_AdvancedStock_Block_Adminhtml_Catalog_Product_Edit_Tab_Erp [...]
I am currently developing a website using magento, i am stuck though, i need to develop a page as such and i dont know if magento supports, i need to have it looking like this So As you can see, i want to set it up so that category would a class, in this example [...]
I’m creating a shipping box report which will allow the admin to see how many of each box is needed to ship the day’s orders. I’ve already got it saving the internal box codes for each shipment. The problem is that these codes are things like “SPECIAL_PKG” or “SHIPPING_PKG_1″, but the admin should see the [...]
I’m working on the Magento API and I got some questions… I try to get all Product Names from a specific category at Magento. here’s my code for that: <?php $host = “www.host.tld/index.php”; $client = new SoapClient(“http://”.$host.”/api/soap/?wsdl”); $apiuser= “user”; //webservice user login $apikey = “pass”; //webservice user pass try { // Login $sess_id= $client->login($apiuser, $apikey); [...]
In Magento I’m using the following code to get a bestsellers data collection: Model Function: public function bestSellers($limit = 12){ $storeId = Mage::app()->getStore()->getId(); $_productCollection = Mage::getResourceModel(‘reports/product_collection’) ->addOrderedQty() ->addAttributeToSelect(‘id’) ->setStoreId($storeId) ->addStoreFilter($storeId) ->setOrder(‘ordered_qty’, ‘desc’) //best sellers on top ->setPageSize($limit); Mage::getSingleton(‘catalog/product_status’)->addVisibleFilterToCollection($_productCollection); Mage::getSingleton(‘catalog/product_visibility’)->addVisibleInCatalogFilterToCollection($_productCollection); return $_productCollection; } Block Output: <?php $products = Mage::getModel(‘tabs/collections’)->bestSellers($limit); ?> <pre> <?php print_r($productCollection->getData()); ?> </pre> However [...]
Is it possible to import Upsell products from a CSV in magento ? Import upsell products for another product in magento from CSV Possibly Related Posts: How to call Magento block in phtml template? Magento – CSS is not loading in magento How to call Mage block instance in myproject’s phtml’s file in magento Show [...]
M getting this : <img alt=”" }}=”" es_3.jpg=”" wysiwyg=”" src=”{{media url=”> In my form i added this code $wysiwygConfig = Mage::getSingleton(‘cms/wysiwyg_config’)->getConfig( array(‘tab_id’ => ‘form_section’) ); $wysiwygConfig["files_browser_window_url"] = Mage::getSingleton(‘adminhtml/url’)->getUrl(‘adminhtml/cms_wysiwyg_images/index’); $wysiwygConfig["directives_url"] = Mage::getSingleton(‘adminhtml/url’)->getUrl(‘adminhtml/cms_wysiwyg/directive’); $wysiwygConfig["directives_url_quoted"] = Mage::getSingleton(‘adminhtml/url’)->getUrl(‘adminhtml/cms_wysiwyg/directive’); $wysiwygConfig["widget_window_url"] = Mage::getSingleton(‘adminhtml/url’)->getUrl(‘adminhtml/widget/index’); $wysiwygConfig["files_browser_window_width"] = (int) Mage::getConfig()->getNode(‘adminhtml/cms/browser/window_width’); $wysiwygConfig["files_browser_window_height"] = (int) Mage::getConfig()->getNode(‘adminhtml/cms/browser/window_height’); $plugins = $wysiwygConfig->getData(“plugins”); $plugins[0]["options"]["url"] = Mage::getSingleton(‘adminhtml/url’)->getUrl(‘adminhtml/system_variable/wysiwygPlugin’); $plugins[0]["options"]["onclick"]["subject"] = “MagentovariablePlugin.loadChooser(‘”.Mage::getSingleton(‘adminhtml/url’)->getUrl(‘adminhtml/system_variable/wysiwygPlugin’).”‘, ‘{{html_id}}’);”; [...]
SOLD OUT! Priority Waiting list Now Open. Working on adding more space. As we expected (and warned), we have sold out of registrations. In fact, we held registration open beyond our original sell out target capacity as we believe we will be able to adjust the venue and flow to accommodate more attendees. In the [...]