I am trying to open a Magento store link from an external site. While opening the store link I need to send some information using the query string parameters.
So I open a link (through php code) such as:
http://magentostore.com/myproduct.html?id=3434&user=445
However the Magento store link ignores the query string parameters and ...
Hi,
Thanks in advance,
Here is my code which create the coupan code on fly.
$productId = (int) $this->getRequest()->getParam('id');
$discountprice=$_POST['product']['discountprice'];
$model = Mage::getModel('salesrule/rule');
$couponCode=generateUniqueId(8);
$model->setName($couponCode);
$mod...
I'm integrating paypal website payment pro (US)in my shopping cart Magento.
I have got API username,api pwd,api signature from paypal.
I have tested by creating a form from the ref site
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks#NVP
It works well and im able to login to the sand...
Hi,
Trying to set up my shipping rates as follows:
If the total shopping cart is under 1KG in weight then the shipping will be £3.68
If the total shopping cart is over 1KG in weight then the shipping will be £6.68
If the total price of the cart is over £100 shipping is free.
I’ve managed to hack this all together using a flat rate o...
Hi,
I have written a module to add my own events, and in the home page i would like to show only latest events. So in that case i have to add order by to query but i couldnot do that, it always throws fatal error.
This is what i have done.
$_offers = Mage::getSingleton('offerings/offerings')->getCollection();
This returns all the ...
I try to install magento for the first time.
I've created the database with the
name "project"
in my C:\Zend\Apache2\conf\httpd.conf I
added on the end:
<Directory "C:\Zend\Apche2\htdocs\project">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
in my ZendServer/Server Se...
After I enter my username and password and click "Login" it sends me back to the Login page with NO error messages. The URL changes to include a session key and that's it. Everytime I click Login again, the session key is regenerated and I still can't log into the admin interface.
...
All the permissions are correct and the php.ini is fixed, and there's no problem with SSL or secure admin interface but it still won't upload.
I click on a product, go to the Image section, select an image to upload and it appears to upload. However, the image doesn't appear in the list of product images and then I get kicked back out t...
Ok this is a bit of a rant and a question combined - Why the hell is magento so reliant on javascript?? This goes agaisnt all usability guidelines. WHats so annoying is that it even uses buttons instead of correct form submit elements. Why? This makes no sense what sense at all to me.
Why is this and is there a way around it?
...
Hi,
Thanks in advance..
As in my previous question i have set the discount code for the product on fly its working fine but i want to apply this rule for specific product only is this possible by changing previous code.
please help me...
Thanks,
Jitendra
for your information the code is here....
function generateUniqueId($length =...
Hello,
I am working with Magento. I refresh cache from admin panel. After that, when I open the front end site, I found that no product images were loaded. Some problem arise in that.
Please, if anyone can help. Thanx.
...
I am running Magento 1.3.2.4 (MySQL 5.1.5 and PHP 5.2.4) and am finding that products do not show up in categories until the page is refreshed. This means that when you access a category page for the first time, it is empty, then when you refresh the page, the products appear.
The URL of the site follows. If you navigate to any subcateg...
Hi Guys,
I have created a custom module in magento and wants to show products with their URL as links.
I am trying in this way :-
for ($counter=0; $counter < count($products); $counter++)
{
$_product = Mage::getModel('catalog/product')->loadByAttribute('id',$products[$counter]->product_id);
echo $_product->getProductUrl();
}
...
Hi ,
i have above than 3000 users in my oscommerce now i want to migrate those user in to magento . how can i do that please help
...
I understand how to programmatically create a product and also add to cart. I know this might sound dumb but is it is possible to generate a product on the fly and add that to the cart/quote but never actually save it in the database.
We want to create a made to order interface and I was thinking at the end it could add a bundle produc...
Hi!
inside the checkout onepage billing.phtml I have to do several checks and even remove or add stuff to the cart.
But I don't seem to find how to do that
how can I change the cart from within an template?
Thanks,
Joe
...
I'm trying to get the base url and the media directory from the Magento configuration and I'm trying to use them for a template that has images. I've only gotten as far Mage::getConfig(). I'm not sure what to do next...
...
Two of my modules are conflicting and it's causing a serious issue, I'm not all that familiar with back-end programming so I've come here hoping someone can help me out. P.S. I did try to solve this on my own for at least an hour or two, learned quite a bit but not anything that was straight forward enough to solve this.
I need to modif...
In magento, after rebuilding programmatically the flat product catalog with the script I found at http://www.magentocommerce.com/boards/viewthread/43238/ I keep getting the error exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.display_price_group_0' in 'field list'' whenever...
I'm a beginning Magento programmer. I used to access the backend as localhost/magento/admin and everything was working fine on WAMP. I could access any route I set up in config.xml as localhost/magento/(frontName) and my controllers were working fine.
Then I was trying to get Zend Debugger working with Eclipse, and in the process I fidd...