magento

Magento: Display products from childcategories if parent category is empty

Hi all, I have the following categories Car parts (0) Tires (0) Rims (5) Now in the product listing obviously the car parts en tires listing returns 0 products. But for the user this is ankward. Is it possible to show child items if a category is empty? Kind regards ...

Magento: Multiple calls to same block template with cache on

Hi all, I am calling a block multiple times in the footer of my site as follows: <reference name="footer"> <block type="catalog/navigation" name="footer.category.occasion" as="cat_occasion"> <action method="setTemplate"><template>catalog/category/menu.phtml</template></action> <action method="setData"><name>categor...

Magento CMS page (or block) mass import

I have 50 CMS pages I want to create in Magento. These are essentially mail merges off of a database with different content (but same structure) in each, so I'd love to be able to import them if possible. I want individual pages so they can be indexed by the search engines. Is there a handy/dandy way to do this? I could alternatively...

How can I associate a simple product with a configurable product?

My site carries some products that can be sold individually or personalized with a tag. The tag option has a total combination of 1140 variations. 3 Shapes 19 Clipart designs 15 Color choices I created a configurable product and ran it through EasySKU extension and later associated the products as "group" product. The configurations ...

SOAP-ERROR: Encoding: object hasn’t ‘website_ids’ property

i am struggling to get the products listed/called from magneto via SOAP. I am using the following statement please help, tell me what i am doing wrong. I am sending down the username and apikey vi the “LogInSession.Session()” method, it just keeps the connection info. string sessionId = LogInSession.Session(); MagentoSOAPv2.MagentoSer...

How to check CMS block is active?

Hi, I wonder how to check that pariticular CMS block is active or not. So far i have found that CMS block are Mage_Cms_Block_Block class that inherits from Mage_Cms_Block_Abstract class Mage::log(get_class(Mage::app()->getLayout()->createBlock('cms/block')->setBlockId('promo_space') Neither of the two class have method that would ch...

what would be the best solution to arrange items on Magento?

Hi, my client is asking me to arrange items freely. Let's say I have five items. Item 1,2,3,4,5. My client wants to move item 5 to item 1 and item 4 to item 2 and so on. I have never seen such feature before. I am not even sure how to implement it. What would be the best solution?? ...

advanced search with configurable product in Magento

Hi, I have a clothing e-commerce website. I created color and size attributes and used them with configurable products. The configurable products have at least two associated products and those associated products have color and size options. When I use advanced search to search items with a specified size attribute, nothing shows up o...

Can I customize the Magento app/code/core folder without affecting future upgrades?

I found a guide on how to add new attributes to users, it explains that for this operation I must modify some files in the app / code / core / Mage directory (the directory that contains Magento’s modules). But if i make some changes in that folder will this affect future upgrades? Will an upgrade will delete my changes? Should I lim...

Need a solution to display minimum pricing for products sold as sets.

By default, at least in v1.3.2.4, Magento doesn't have an option for products that are sold as sets. e.g. Product A sold as 4 units per order. So I created an Attribute called product_set and assigned a default value of 1. Any product that is sold by more than one unit, I consequently updated that said product. The reasoning behind this...

I need to use Prototype to do something I can easily do in jQuery

I know my jQuery, but sadly don't know much about Prototype. $(function() { $('#home-gallery-container').append('<a href="/images/cobra_sale.jpg" alt="" rel="lightbox-home" id="special-home" ><img src="/images/tag.png" alt="Special" /></a>'); }); How would I do this in Prototype, or Magento's library if that adds anything extra. ...

Magento : Converting currency before sending data to Google Checkout

I have a magento site with base currency in USD and Google Checkout in GBP. Google Checkout: The currency used in the cart must match the currency of the seller account. You supplied a cart with USD and the seller account is associated with GBP. Is there a way in magento to convert the amount to GBP before sending to Google...

Are All Price Values in catalog_product_entity_decimal ?

Are all the prices in the value column of catalog_product_entity_decimal mysql table ? I need to mass update the prices (converting from USD to GBP since Im switching the base currency to GBP) ...

Is it possible to export/import product categories in Magento?

I saw one other question on how to do a mass import of products, categories, and all that, but all I want to be able to do is import my categories from one store to another. When you export products I see that there is still a category ID attribute that it gives the products, but I don't see any options for exporting product categories....

Connect to the Magento API using C#

Im trying to connect to the Magento 1.4.0.1 API, but until now I have no luck. I have added a Service Reference named MagentoAPI and pointed it to http://mydomain.com/api/v2_soap?wsdl=1 (I know the =1 is not intended, but it dont work without) This works fine, I get a list of all available methods, but when I try to use any of them it ...

What is the phpdoc syntax to link $this to a specific class in Aptana?

I'm working on Magento templates, but this issue would apply to any template loading system. As these templates are loaded by the template engine there's no way for the IDE (in this case Aptana) to know what object type $this is. Potentially it could more than one object as a single template could be loaded by multiple objects, but i...

magento category urls

I'm getting "-1" appended to some of my category urls. e.g. bedroom.html becomes bedroom-1.html. How do I stop this happening and correct the current ones. Thanks. ...

Using Magento 1.4's WYSIWYG editor on custom admin pages

Hi All Anyone know how to get the new 1.4 WYSIWYG editor (TinyMCE) working with custom admin pages? I have some modules I made that have input fields in the admin->system->config section, and I’d like to get the new editor to show on the textareas there, but I can't find where they are defined. ...

Magento 1.4 productIdentifierType

i am having problems with retrieving my products, in 1.3 it worked and i just added some products on 1.4 but there is a new function in the capalogProductInfo called the product identifier, i don't know what to put in there, i tried passing down product type form list but i keep getting a error that says that the product does not exit. ...

Magento dispatching outside application

Hi all, I'm trying to figure out how exactly Magento's dispatching system works. I want to dispatch a certain part of the layout (e.g. the body) from outside the application directory. What i have so far; <?php $app = Mage::app(); $myRequestUri = '/checkout/cart'; $front = $app->getFrontController(); $request = ...