magento

my Magento Observer is getting in Endless loop

Below is my code config.xml <?xml version="1.0"?> <config> <global> <models> <shipmentsave> <class>Company_Shipmentsave_Model</class> </shipmentsave> </models> </global> <adminhtml> <events> <sales_order_shipment_track_save_after> <...

Magento : call a variable from customer’s shipping address in Onepage checkout, step 3 shipping method

Hi, I need to call a variable that is a customer’s shipping address attribute, in Onepage checkout, step 3 shipping method In file app/design/frontend/default/default/template/deliverydate/onepage/deliverydate.phtml I already made successful tests in calling this variable with : $numero_point_relais = $this->getCustomer()...

Any PHP Frameworks that use a Layout and Block system like Magento?

While it is most typically touted as a fully-featured shopping cart system, Magento is an awesome framework to boot. Of particular awesomeness is the layout system. In essence a page is created from "Blocks" which all inherit from an abstract class which does not assume the use of template files. These blocks are assembled according to a...

After overriding contoller how to best update handles

Hi, Once i override controller: <!--...--> <rewrite> <sj_storepickup_checkout_onepage> <from><![CDATA[#^/checkout/onepage/#]]></from> <to>/storepickup/checkout_onepage/</to> ...

SAP business one integration with Magento

Is there any opensource solutions available for this ? I am aware about http://www.sboeconnect.com/ but was hoping if there is some other open source library that does this . ...

How can I clear Magento Cache when using a Memcached server

Hello, I've been running on a problem for about two weeks. I Have a magento which is configured to use a memcache server. Recently, I got to change the server storing my magento application. I installed my new server, and just get my magento app up and running on the new server, with one change : I changed the database user and passwo...

"Sorry, no quotes are available for this order at this time" in Magento

hi, i have a Magento site in which the checkout process worked fine until yesterday when i got this error message. does anyone know why this is happening? the products are set to non-zero weights and i have enough in inventory too. i'm using the Fontis Australia extension. any help? thanks ...

custom magento extension help

I need help with a couple of problems in my magento sales module. I have a mobile number text field in my magento extension back-end. I want to get it validated using this regular expression ^[a-z0-9\. _\'-]{1,11}$.Also want to show a help text for each fields. I want my extension to do some operations when the Admin ships the order.P...

Magento multiple occurences of custom option

This is a strange question, I do not hope for an answer since the problem seems so specific, I am asking in case someone else happened to have the same problem. What happens is that when I try to save a custom option for an product in magento administration panel (Catalogue-> Product Information -> Custom Options), the custom option pro...

Magento multi-currency w/multiple stores

Hi, We've got a Magento store setup with prices in USD. We need to set it up so that people can also buy in CAD. Problem is CAD prices need to be specific prices, they can't just use the exchange rate and USD. So I believe we would have to setup multiple stores to do this, correct? Any help docs or advice on how to do this? tha...

custom attribute UI in Magento admin

Hi I'm trying to change the way Magento shows options of an attribute with multiple select. I have 10K options for this attribute. How can I override the UI and use an Ajax based UI? The admin will be able to filter options and present only ~20 each time. I know how to use js and php for this but not in Magento. Thanks ...

Magento Custom Module Admin Permissions

I have created a few custom modules for Magento and when I try to assign permissions to the module (check the checkbox) when I click save it unchecks the box. Anyone have any ideas? It sort of sounds like there is something off in my config.xml file so I will post it here just in case: <config> <modules> <Wpe_Vendorlist> <v...

Magento: select from database

hi there, I am working on my first module for magento version 1.3.2.3. I have created a simple table (not EAV, just a primary key and 2 columns) and some classes to access it, following Alan Storm's articles which helped me a lot, but I can't figure out how to make a simple select: Alan explains how to load with the primary key, but not ...

Magento: Custom MySQL query with locks not working

I'm trying to write a function to SELECT the least-recently fetched value from a table in my database. I do this by SELECTing a row and then immediately changing the last_used field. Because this involves a SELECT and UPDATE, I'm trying to do this with locks. The locks are to ensure that concurrent executions of this query won't opera...

Discrepancy in Number of Tables in Database of each Magento Installation of same Version

I am currently using Magento version 1.4.0.0. For different clients, when I install this same version of Magento, I get different number of tables in database of each of the clients. I think the normal total number of tables is 267, but this prediction may be incorrect. Please correct my statement or mention, regarding the default num...

Running magento on other port than default 80

Hi, I have configured Apache virtual hosting on port 8080 to point to my magento website. Listen 8080 <VirtualHost 6x.2x.6x.1x:8080> ServerAdmin webmaster@localhost ServerName domainname.com ServerAlias *.domainname.com DocumentRoot /var/www/sites/domain/ <Directory /> Options FollowSymLi...

Magento SSL Sagepay empty cart issue

Trying to setup SSL on the Magento checkout pages but have run into this issue: After payment details are submitted, the payment goes through fine (checked with sagepay) but when sagepay redirect to the success page (/sagepay/server/success/?SID=session_id), it then tries to redirect to /checkout/onepage/success/, where I get an error s...

Hide content based on URL string (PHP)

Hi there, I've signed up to one of those affiliate sites to help drive traffic to my online store. They've asked that I hide the telephone number on my site for referring traffic. All traffic that they refer will append any of my site urls with something like '?affiliate'. Does anyone know how I can hide content on a page if a URL con...

Track inventory for add custom options in add simple product.

I want to track inventory for the product shirt have 2 different sizes and 2 colors. So that i can manage stock for both of that simultaneously. ...

Magento Rule Model override

I've got a little problem overriding the Magento core class: Core/Role/Model/Role.php. I think I'm doing everything correctly, but the code just doesn't work (Nothing changes). My [namespace]/Rule/etc/config.xml: <?xml version="1.0"?> <config> <modules> <[namespace]_Rule> <version>0.1.0</version> </[namespace]_Rule> </module...