Instead of stating that an item is out of stock, I like to have it available for order with the exception of a warning that states the availability of product for shipment. I created an attribute and assigned a date input type.
Below is my attempt to get this working with no luck so far. Appreciate some help. Thanks.
<?php $empty="" ?>...
Magento has a large code base (6000+ php files), uses a complex autoloading logic, and has a lot of configuration in XML. I'm looking for an IDE that can get it's little brain around this code base - show me where a function is declared, where it's called, etc. Is there any IDE that can handle this beast?
EDIT - Adding examples
Here...
I have this section in one of my layout files:
<blog_post_view>
<reference name="content">
<block type="blog/post" name="post" template="aw_blog/post.phtml" />
<block type="socialbookmarking/bookmarks" name="bookmarks" template="bookmarks/bookmarks.phtml"/>
</reference>
</blog_post_view>
This first block shows ...
I have this code in a xml layout file:
<reference name="left">
<block type="blog/blog" name="left.blog.menu" before="-">
<action method="setTemplate" ifconfig="blog/menu/left">
<template>aw_blog/menu.phtml</template>
</action>
<block type="blog/tags" name="blog_tags" />
</block>
</re...
I'm new to Flex, and Cairngorm so bear with me...
I need to integrate a Flex application with a Magento site. I prefer to do it with XML-RPC instead of web services because of speed and our other applications integrate via this method.
I'm using the as3-rpclib to do the XML-RPC communication. I can get things to talk, but timing is ...
Hey folks,
I need to add a few, sales-related columns to the Low stock report (e.g. Sales last week, Sales week before last week etc.)
How should I do this?
I’ve already managed to add some basic columns which already exists in the Collection (e.g. price, status etc.)
I’m looking at Mage\Adminhtml\Block\Report\Product\Lowstock\Grid.p...
I have a custom module that exports data to our fulfillment system when the user checks out. Before export I need to run the address through a verification service. Since we are charged for this service, I need to configure the user name and password for the service per store. I have added the attributes I need, however I cannot figur...
Hello, i am trying to fix a magento shop that another developer built.
The shop is multilanguage and i see the checkout progress block at step 3.
you can watch it here: http://www.ac-sw.net/
I need to return back to the original checkout process, i tryed to upload the app/design/frontend/default/default/layout/checkout.xml, and the app/...
I have wholesale attributes for certain products under one store in Magento. I would like to set it so those particular attributes only appear on the product page IF the customer is logged in and they are in the Wholesale customer group.
Is this possible?
...
How can I make Magento sort products in the catalog by the date they were added? This isn't an option in the admin so guessing it needs to be done in the code somewhere.
Thanks.
...
Hi,
I would like to retrieve the 'Minimum order amount' value for free shipping in the 'CartController.php' class.
How can I get this value ? Is Mage::getStoreConfig() will do the job ? But witch path?
Thanks a lot for any suggestion!
...
I want to split up the magento package in a private and public web directory. E.g. the private directory is reuseable on multiple projects, its just the app.
private/
app, downloader, includes, lib, pkginfo, var
public/
404, js, media, report, skin + current root files (index.php etc.)
Im setting this up in SVN where just one cop...
<?php
foreach($this->getTotals() as $total)
{
if ($total->getCode() == 'subtotal')
{
$subtotal = $total->getValue();
break;
}
}
echo $subtotal;
?>
Any way to get subtotal directly ?
...
Hey guys,
My problem is that I have a category which appears on the top menu bar (using HelloClean theme).
I added a number of subcategories but on mouse over of the parent category the subcategories in the dropdown appear completely distorted.
I think i know the reason but have no idea how to fix it.
As I'm using the a HelloClean t...
For some odd reason when people try to use guest checkout it just allows them to enter billing information then when it supposed to go to shipping... it just loops back to the first checkout page... the the process keeps repeating
anyone know where this may be coming from?
the site is a2iwheels.com/checkout/onepage/
...
Hi all,
I've set up the following multi site structure in Magento (1.3.2.4);
Site | Store | View
--------------------------
Site A | Store A | View A
Site B | Store B | -
So, 2 site codes and 1 view code.
Is the (empty) view of Store B inherited from Store A?
And what if "Store B" was left blank, would that inherit the root ca...
Hi,
So far i have found two ways of liking a category to a customized module. By Category i mean created in Admin->Catalog->Manage Categories->created new category. By Customized module i mean module created in code(app/code/local)
way to link
Till today I used Admin->Catalog->Url Rewrite Manager to direct some category(blog) to some ...
How do i get all the info, products pics, settings, etc... from one magento install to another?
The backup feature it has don't seem to be that great.
...
I have the below code in a page.
<?php if($this->getMode()!='grid'): ?>
<?php $_iterator = 0; ?>
<div class="listing-type-list catalog-listing top10full" onclick='window.open("http://google.com")'>
<?php
$i = 0;
foreach ($_productCollection as $_product):
$i++;
?>
<div class="listing-number"><p class="listing-position"><?ph...
I have a Magento site, which includes the prototype JavaScript library.
Some time ago, I added jQuery as well.
Before that however, I'd included a prototype based Lightbox. It was triggered by adding the attribute rel="lightbox[gallery]".
Now I'd like to make a lightbox appear on page load. I know nothing about prototype, so I tried c...