Questions tagged [magento-1.8]

Magento is an e-commerce platform written in PHP atop the Zend framework, available under both open-source and commercial licenses.

This tag relates to the version 1.8 release of Magento. For general Magento related questions, please see .

957 questions
2
votes
2 answers

Get all Magento Categories using SQL query

I have this SQL query to get all Magento Categories. SELECT DISTINCT cc.entity_id AS id, cc.`value` AS path, cc1.`value` AS `NAME`, cce.`level`, cce.parent_id FROM catalog_category_entity_varchar cc JOIN…
Umair Ayub
  • 19,358
  • 14
  • 72
  • 146
2
votes
1 answer

authorize and capture functions are not firing magento custom payment gateway

I've created a custom payment gateway, but my capture and authorize functions are not firing when I try to place order. I am not sue what is missing here. Here is my payment model code: class RD_Echeck_Model_Paymentmethod extends…
RD Mage
  • 103
  • 3
  • 16
2
votes
2 answers

How to use public function frontend Magento

I have a custom function in magento, how I can do in the frontend to see the public functions values? Function: public function getOptionsWithValues() { $attributes = $item->getOptionByCode('attributes')->getValue(); if (!$attributes) …
Robert
  • 812
  • 3
  • 18
  • 47
2
votes
1 answer

How to load products from a specific category based on special price availability?

I have following code $promoCatId = (int)Mage::getStoreConfig('promoprodsec/promoprodgroup/promocategoryid'); $products = Mage::getModel('catalog/category')->setStoreId($store)->load($promoCatId) …
Mukesh
  • 7,630
  • 21
  • 105
  • 159
2
votes
2 answers

Magento. How to add simple product in cart programmatically with custom options

I am trying to add my simple product with custom options in cart. $post = $this->getRequest()->getPost(); $_product = Mage::getModel('catalog/product')->load(8); $QuoteId= Mage::getModel('checkout/cart_api')->create('default'); …
user3162709
  • 159
  • 1
  • 3
  • 17
2
votes
2 answers

Magento. Create attribute for grouped products only

I am trying to create attribute programmatically for all grouped products on my site. I am trying to create custom attribute set with group. $oEntitySetup = $this; $oEntitySetup->removeAttribute('catalog_product',…
user3162709
  • 159
  • 1
  • 3
  • 17
2
votes
1 answer

1060 Duplicate column name 'position_brand'., what to do?

I installed Magento 3rd party "Brands" extension update, prior to installation I disabled cache and right after installation my homepage is showing an error: Error in file:…
Icon
  • 911
  • 1
  • 10
  • 31
2
votes
1 answer

magento - custom block not recognized

On my startpage I want to add a new block. So I added it to the CMS like
{{block type="productview/productview" name="productview_productview" template="productview/productview.phtml"}}
There must be some error in the defined block code.…
Safari
  • 3,302
  • 9
  • 45
  • 64
2
votes
0 answers

AngularJS Client Consume Magneto Server? Via Rest or SOAP?

Hi I am building an application based on Magento CE 1.9.2 I have previous experience with magento but not recently or experience using the API, either SOAP or REST. I am trying to decide whether or not it is fully beneficial or it is recommended to…
2
votes
2 answers

Display Product Attributes color,size,package in Order Grid Magento

I have created a custom module using "Renderer" in the Order Grid of Magento. I made a file named app/code/local/Od/Ordergridproduct/Block/Adminhtml/Renderer/ProductDetail.php and here is my code:
okconfused
  • 3,567
  • 4
  • 25
  • 38
2
votes
1 answer

proceed to checkout button not working in magento 1.8.1.?

I have an problem with proceed to checkout button in magento 1.8.1 when i add some product in cart and after adding product in cart then i click on proceed to checkout button its not working. I have checked console error but still no any error…
Dnyan
  • 191
  • 2
  • 7
  • 19
2
votes
1 answer

How to create and access a CMS page in Magento as /media

I have a cms page having the url key as media-best. The client needs to change the url key from media-best to media. So the new url of the page would be mysite.com/media But as Magento have a media folder in root, any call would go to the media…
Ans BM
  • 21
  • 1
2
votes
2 answers

Magento cookie settings for subdomain

When I am installing Magento under a subdomain of my production domain, I cannot login to magento admin. For example, my domain name is example.com where I have installed magento and it is in production, I am ok with admin login. However, I have a…
Mohaimen
  • 159
  • 1
  • 3
  • 12
2
votes
2 answers

How to remove count in layered navigation in Magento?

I am using Magento 1.8.1 for my website tcollar.com. How to remove count in side bar left category in Magento?
SIL
  • 185
  • 1
  • 2
  • 11
2
votes
5 answers

Multiple fields to sort a magento collection

Here is target sql query: ...... order by field1 asc, price_index.min_price desc And here is my code $productCollection->getCollection() ->setOrder('field1', 'asc') ->setOrder('price', 'desc') However in my result price…
Tan Dinh
  • 31
  • 2
  • 6