Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How to add an other payment and shipping option ? 
 
Evenshop
Jr. Member
 
Total Posts:  26
Joined:  2008-04-06
 

I would like to add two new way of payment :

- bank transfer
- “contre remboursement” (in France when the customer have to pay the shipment at the post office)

and i would like to have two way of shipping

- Economy (is actually configured is magento like Flat Rate)
- Express (best way is to add a other flate rate but i don’t know how to to this)

Thank you !

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tweakmag
Guru
 
Avatar
Total Posts:  307
Joined:  2007-08-31
London, UK
 

Hi there,
I am going to be releasing an enhanced shipping module soon (hopefully today), could you tell me what you need for Economy and Express that is different from Flat Rate.
Cheers
Adam

 
Magento Community Magento Community
Magento Community
Magento Community
 
Evenshop
Jr. Member
 
Total Posts:  26
Joined:  2008-04-06
 

actually i use Flat Rate for Economy, so i would like to have the same for Express

the price are simply fixed for both

I need also an other called “contre remboursement” with a also a different prices

thank you

 
Magento Community Magento Community
Magento Community
Magento Community
 
Evenshop
Jr. Member
 
Total Posts:  26
Joined:  2008-04-06
 

Are you going to relaease your improvement today ? Thank you

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tweakmag
Guru
 
Avatar
Total Posts:  307
Joined:  2007-08-31
London, UK
 

I hope so - but it won’t support what you need. I can write a custom shipping extension for you however - please give me a private message of your exact needs.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Evenshop
Jr. Member
 
Total Posts:  26
Joined:  2008-04-06
 

done !

i tried this how to : http://www.magentocommerce.com/wiki/how-to/create-shipping-method-module

but i have an error when i load the store

“Error in file: “/var/www/virtual/vu2004/htdocs/app/code/local/Mage/Remboursement/sql/remb_setup/mysql4-install-0.1.0.php” - SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘evenshop.core_config_field’ doesn’t exist “

how to resolve it ?

in fact i just want to duplicate Flate Rate shipping method and duplicate Cash check payment option

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Moderator
 
Avatar
Total Posts:  1655
Joined:  2007-12-14
Waterloo, ON
 

Did you modify your MySQL database to include the new fields?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Evenshop
Jr. Member
 
Total Posts:  26
Joined:  2008-04-06
 

isn’t it automatique ?

i just want to duplicate one existing shipping module, it’s very hard…

 
Magento Community Magento Community
Magento Community
Magento Community
 
Evenshop
Jr. Member
 
Total Posts:  26
Joined:  2008-04-06
 

Somebody can help ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
pluc
Jr. Member
 
Total Posts:  27
Joined:  2008-01-11
 

bump - i get the same error after following the howto.

 
Magento Community Magento Community
Magento Community
Magento Community
 
PHOENIX
Guru
 
Avatar
Total Posts:  549
Joined:  2007-12-19
Stuttgart, Germany
 

The table core_config_field doesn’t exist (anymore). So the method described in the tutorial doesn’t work (a bug report for this can be found here: http://www.magentocommerce.com/bug-tracking/issue?issue=1807).

Look at the existing payment methods and create your tables with an plain SQL statement.

To configure your application use etc/system.xml.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tweakmag
Guru
 
Avatar
Total Posts:  307
Joined:  2007-08-31
London, UK
 

You don’t need to write sql statements at all - info in the system.xml is used smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
PHOENIX
Guru
 
Avatar
Total Posts:  549
Joined:  2007-12-19
Stuttgart, Germany
 

Obviously you don’t need to create your own table via an SQL statement if simple configuration values is all you need for your module wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
pluc
Jr. Member
 
Total Posts:  27
Joined:  2008-01-11
 
Phoenix - 22 April 2008 03:56 AM

The table core_config_field doesn’t exist (anymore). So the method described in the tutorial doesn’t work (a bug report for this can be found here: http://www.magentocommerce.com/bug-tracking/issue?issue=1807).

Look at the existing payment methods and create your tables with an plain SQL statement.

To configure your application use etc/system.xml.

So you’re telling me that the HOWTO article to create a custom module is, as of this version, inaccurate? How are developers supposed to code custom modules if the only article that describes how to do it is out of date? Are there any other resources?

 
Magento Community Magento Community
Magento Community
Magento Community
 
PHOENIX
Guru
 
Avatar
Total Posts:  549
Joined:  2007-12-19
Stuttgart, Germany
 

The tutorial is good and it works. The only thing that isn’t up-to-date is the setup part. So if you want to create a backend configuration for your module take a look at the existing payment/shipping modules (Paypal, Cybersource etc.) especially the XML files in the etc folder.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top