Author Topic: Shipping rate specific payment method  (Read 39147 times)

D.Awame

  • Beginner
  • *
  • Posts: 8
  • [url=http://tierussianwoman.w-ru.com/]russian women dating agency[/url]
    • russian woman seeking marriage
Shipping rate specific payment method
« Reply #15 on: December 03, 2009, 04:23:03 am »
Nice mod - thanks.

Is it possible to remove Flat Rate which appears next to the shipping charge so it just shows the price?

getcom

  • Beginner
  • *
  • Posts: 1
Re: Shipping rate specific payment method
« Reply #16 on: September 21, 2010, 17:22:13 pm »
Hi all,
I installed 20090104_StandardShippingPaymentRestriction.zip but I have a problem.

I installed first in a test clone (in local) of my site and works fine; than I intalled in the remote site (same files and same method).

I replaced files and create table jos_vm_shipping_rate_payment_method_xref.

Than in VM-admin I create a new shipping rate, selected specific payment method from list and save.

I try to place an order in front-end, I select shipping method but, in the next step, no payment method is showed.

If I open again shipping rate in VM-admin, the payment method list is now hidden (see attach).

If I look into db, table jos_vm_shipping_rate_payment_method_xref is empty.

If I fill manually table in db, nothing change: in VM-admin payment method list is hidden and in frontend no payment method is showed.

Thanks for your help.

Joomla! 1.5.9
VM 1.1.3

I had the same problem because my Joomla prefix was not correct.
I deleted the table and created it once again with correct prefix.


thomas2411

  • Beginner
  • *
  • Posts: 18
Re: Shipping rate specific payment method
« Reply #17 on: February 11, 2011, 20:40:19 pm »
Hi,

For me it didn't work on Joomla 1.5.22 and VM 1.1.6. It didn't have functions to add records to shipping_rate_payment_method_xref when adding/updating shipping method.

So I took original files from VM 1.1.6 and added author code there, then I added mine.

Tested, works for me ;)

[attachment cleanup by admin]

jez

  • Beginner
  • *
  • Posts: 1
Re: Shipping rate specific payment method
« Reply #18 on: March 05, 2011, 13:02:39 pm »
Hi,

I used this hack and it works,
but shipping method is related with only one paymet method, although i choosed two.
Otherwise in shipping method (in admin VM) disapear list of payment method, if i opened it one more time.

I use:
Joomla 1.5.22
VM 1.1.7

Jeż

RC98

  • Beginner
  • *
  • Posts: 3
Re: Shipping rate specific payment method
« Reply #19 on: March 24, 2011, 08:19:33 am »
Hey all I tried this hack on my joomla 1.5.14 VM 1.1.5 and it works but i got a problem when you try to buy more then two items it will not show a shipping option I check product qt option is set 0 I all ready tried to set weight difference like in oz, kg as I saw in another post but no success any one know how to make this hack work with different amount of products then you get different shipping rates?

Dezign

  • Beginner
  • *
  • Posts: 11
Re: Shipping rate specific payment method
« Reply #20 on: May 04, 2011, 15:07:40 pm »
Hi,

I used this hack and it works,
but shipping method is related with only one paymet method, although i choosed two.
Otherwise in shipping method (in admin VM) disapear list of payment method, if i opened it one more time.

I use:
Joomla 1.5.22
VM 1.1.7

Jeż

Same problem here. I fixed allready the database structure so the multiple payment methods are saved in the database.

But at the back end (at the shipping rate form) and front end the second payment method disapears...

Anyone know how to show the second and sometimes third payment method??




[attachment cleanup by admin]

boskoff

  • Beginner
  • *
  • Posts: 5
Re: Shipping rate specific payment method
« Reply #21 on: May 22, 2011, 22:21:07 pm »
Yeap, this links only one payment method with a delivery... :(

Dezign

  • Beginner
  • *
  • Posts: 11
Re: Shipping rate specific payment method
« Reply #22 on: May 27, 2011, 14:23:47 pm »
Yeap, this links only one payment method with a delivery... :(

Any idea how to show more than one payment method?

nebojsa

  • Beginner
  • *
  • Posts: 27
Re: Shipping rate specific payment method
« Reply #23 on: June 05, 2011, 09:53:56 am »
Yeap, this links only one payment method with a delivery... :(

What a disappointment for this... but many thanks for updating to 1.1.6.

Hy3n4

  • Beginner
  • *
  • Posts: 13
Re: [SOLVED] Shipping rate specific payment method
« Reply #24 on: August 06, 2011, 16:37:47 pm »
OK this is a nice hack. But there is a little problem if you have free shiping set.
When you set free shipping and order will reach this price there will be no option to choose in step 3 / payment method.
So this hack is little bit useless for me :( pitty
Is there a way to make it work with free shipping?
Thanks
--------
I've solved this issue for myself and since I am no programmer I don't know if this solution will be functional for all others.
But here it is.
I found out that value of "shipping_rate_id" for free shipping is "1" so I just added new rows in table "jos_vm_shipping_rate_payment_method_xref" and linked "shipping_rate_id" and "payment_method_id" manualy by running this query.
Code: [Select]
INSERT INTO `database_name`.`prefix_shipping_rate_payment_method_xref` (`shipping_rate_payment_method_id`, `shipping_rate_id`, `payment_method_id`) VALUES (NULL, '1', '2');
INSERT INTO `database_name`.`prefix_shipping_rate_payment_method_xref` (`shipping_rate_payment_method_id`, `shipping_rate_id`, `payment_method_id`) VALUES (NULL, '1', '4');
INSERT INTO `database_name`.`prefix_shipping_rate_payment_method_xref` (`shipping_rate_payment_method_id`, `shipping_rate_id`, `payment_method_id`) VALUES (NULL, '1', '18');
Of course it can be done by adding rows manually in phpMyadmin for example.
I have to point out that your ID for "payment_method_id" will be different from my IDs 2,4,18 you have to find it . And "shipping_rate_id" for free shipping can be different than "1". You can find out your "free_shipping_id" in debug mode.
Hope it helps someone.

kessels1234

  • Full Member
  • ***
  • Posts: 208
Re: Shipping rate specific payment method
« Reply #25 on: August 15, 2011, 15:07:30 pm »
Free shipping has indeed a problem. Did anyone solve this problem?

Thanks in advance,
Danny

Souls33k

  • Beginner
  • *
  • Posts: 2
Re: Shipping rate specific payment method
« Reply #26 on: September 06, 2011, 16:20:17 pm »
Didn't work for me either.
It would be really nice if it supported more than one payment method.

antonino78

  • Jr. Member
  • **
  • Posts: 130
Re: Shipping rate specific payment method
« Reply #27 on: September 07, 2011, 11:57:01 am »
Hello everyone,
Before posting my problem I congratulate you on this wonderful hacks.
Unfortunately, I followed the readme to the letter but without good results.
After changing the three files and inserted the new tebella (shipping_rate_payment_method_xref) I have the problem that when I try to buy I can not see the payment methods.
My joomla version is 1.5.23 and vm 1.1.5 stable
Please help me solve my problem?
I need this change

sudi11

  • Beginner
  • *
  • Posts: 1
Re: Shipping rate specific payment method
« Reply #28 on: October 09, 2011, 11:32:19 am »
Excellent work! Thanks, you saved a lot of work for me.

Darkman23

  • Beginner
  • *
  • Posts: 2
Re: Shipping rate specific payment method
« Reply #29 on: November 12, 2011, 02:00:35 am »
Hello everyone,
Before posting my problem I congratulate you on this wonderful hacks.
Unfortunately, I followed the readme to the letter but without good results.
After changing the three files and inserted the new tebella (shipping_rate_payment_method_xref) I have the problem that when I try to buy I can not see the payment methods.
My joomla version is 1.5.23 and vm 1.1.5 stable
Please help me solve my problem?
I need this change

PLS help! :(       Joomla: 1.5.23and Virtuemart: 1.1.7