shipping cost in ver 2.0.365

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

shipping cost in ver 2.0.365

Postby sklep@.....pl » Tue Aug 14, 2018 12:24 pm

hello

After upgrading OPC to ver. 2.0.365 I have a problem with shipping cost. It doesn't change at the checkout page so it doesn't matter what shipping is chosen, the shipping cost is always the same (or nothing, it depends on settings in OPC).

When I installed back ver. 2.0.364 shipping cost is working well.

Radek
Last edited by sklep@.....pl on Wed Aug 15, 2018 5:24 pm, edited 1 time in total.
sklep@.....pl
 
Posts: 32
Joined: Sat Aug 06, 2016 10:39 pm

Re: shipping cost in ver 2.0.365

Postby sklep@.....pl » Wed Aug 15, 2018 5:23 pm

it looks like Ajax doesn't work because shipping cost is not changed at checkout page but in order details is well calculated.
The rest is working well (payment method is automatically changed depending on shipping method by Ajax)

Radek
sklep@.....pl
 
Posts: 32
Joined: Sat Aug 06, 2016 10:39 pm

Re: shipping cost in ver 2.0.365

Postby admin » Wed Aug 22, 2018 1:00 pm

hello Radek, please see if you get any error in your javascript console, it's crusial that there are no errors.

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: shipping cost in ver 2.0.365

Postby sklep@.....pl » Tue Sep 04, 2018 5:04 pm

Hello Stan

No, there is no java errors in console.
The last workin version is 2.0.364.210518. Still changing shipping cost does not have any influence on total cost.

What's more: after installing the latest version com_onepage2.0.367.zip I got fatal error so I had to get back to ver 2.0.364:
----------------------------
RuposTel.com plg_system_fatal_catcher plugin detected a problem with your site.
Your site caused a blank screen upon a visit of this URL:

https://www.e-dziewiarka.pl:443/404

Error message data:
1 Call to undefined method OPCmini::clearCartCache() in file: /home/admin/domains/e-dziewiarka.pl/public_html/plugins/system/opc/opc.php line: 598

timestamp: 2018-09-04T14:56:17+00:00


To disable these emails proceed to your Extensions -> Plug-in manager -> disable plg_system_fatal_catcher
It is very important that you fix all php fatal errors on your site. Resend this email to your developer.

Backtrace:
/home/admin/domains/e-dziewiarka.pl/public_html/plugins/system/opc/opc.php:598
#0 /home/admin/domains/e-dziewiarka.pl/public_html/plugins/system/opc/opc.php(653): plgSystemOpc->plgForceSessionWriteNow()
#1 /home/admin/domains/e-dziewiarka.pl/public_html/libraries/joomla/event/event.php(70): plgSystemOpc->onAfterRender()
#2 /home/admin/domains/e-dziewiarka.pl/public_html/libraries/joomla/event/dispatcher.php(160): JEvent->update(Array)
#3 /home/admin/domains/e-dziewiarka.pl/public_html/libraries/src/Application/BaseApplication.php(108): JEventDispatcher->trigger('onafterrender', Array)
#4 /home/admin/domains/e-dziewiarka.pl/public_html/libraries/src/Application/CMSApplication.php(1047): Joomla\CMS\Application\BaseApplication->triggerEvent('onAfterRender')
#5 /home/admin/domains/e-dziewiarka.pl/public_html/libraries/src/Application/SiteApplication.php(780): Joomla\CMS\Application\CMSApplication->render()
#6 /home/admin/domains/e-dziewiarka.pl/public_html/libraries/src/Application/CMSApplication.php(201): Joomla\CMS\Application\SiteApplication->render()
#7 /home/admin/domains/e-dziewiarka.pl/public_html/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#8 {main}
-------------
Radek
sklep@.....pl
 
Posts: 32
Joined: Sat Aug 06, 2016 10:39 pm

Re: shipping cost in ver 2.0.365

Postby admin » Wed Sep 05, 2018 11:15 am

hello Radek, thank you, i will check this, but let me know if it's possible that you are using different versions of com_onepage vs opc plugin:

/components/com_onepage/helpers

should be the same version/release date as

/plugins/system/opc


which must be the same as
/administrator/components/com_onepage/install/opc

(it installs the plugin automatically when clicking save in opc)

as they are both part of the same core. so if you updated opc via FTP or similar, make sure you copy the plugin as well.

version numbers are available in XML's where OPC has 2.0.X.B and plugins have 10.X.B where
- X is the same number for both (right now 367)
- B is zero for released OPC's and non-zero incremental build number for DEV versions
- or DATE of release

i.e. DEV versions are:
2.0.367.1702.050918 (i.e. build 1702 released 5th sept 18 based on 367 stable version)
live verions are
2.0.367.240818 (i.e. version 367 released on 24th aug) --> we'll add another zero here for better consitency (2.0.367.0.240818)
plugins:
10.367.1701 (i.e. 10 is for plugins, 367 OPC version, 1701 build number of the package)

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: shipping cost in ver 2.0.365

Postby sklep@.....pl » Wed Sep 05, 2018 3:04 pm

Hello Stan

I have managed to install the latest version but the problem with shipping cost remains.

I have sent you private message with ask for help.

Radek
sklep@.....pl
 
Posts: 32
Joined: Sat Aug 06, 2016 10:39 pm

Re: shipping cost in ver 2.0.365

Postby sklep@.....pl » Wed Sep 05, 2018 5:04 pm

I have run a debug and there didn't see any errors. Shipping->payment method works but shipping cost is always the same.
Attachments
opc.jpg
opc.jpg (175.6 KiB) Viewed 10695 times
sklep@.....pl
 
Posts: 32
Joined: Sat Aug 06, 2016 10:39 pm

Re: shipping cost in ver 2.0.365

Postby sklep@.....pl » Thu Sep 06, 2018 12:47 pm

1) Shipping fee works only as an option "inside the basket" so for me it is the only way to make OPC work properly.
2) When I replaced file com_onepage/controllers/opc.php on file from ver. 2.0.364 then everything worked OK but coupons (I changed PHP on 7.1 and coupons from older OPC version stopped working)
3) No java script errors in console after turning on debugging.

Radek
sklep@.....pl
 
Posts: 32
Joined: Sat Aug 06, 2016 10:39 pm

Re: shipping cost in ver 2.0.365

Postby brucezly » Thu Sep 13, 2018 3:37 pm

The new version does not refresh the shipping price at me in the basket. Only if I change the adress datas. 2.0.367

After downgrade 364 works again.
brucezly
 
Posts: 14
Joined: Mon May 22, 2017 4:43 pm

Re: shipping cost in ver 2.0.365

Postby 3g3mv » Thu Sep 20, 2018 7:16 am

brucezly wrote:The new version does not refresh the shipping price at me in the basket. Only if I change the adress datas. 2.0.367

After downgrade 364 works again.


I have the same problem. J2.5.28 VM2.0.26d PHP5.4.42
3g3mv
 
Posts: 1
Joined: Tue Sep 18, 2018 10:09 am

Next

Return to One Page Checkout for Virtuemart 3 on Joomla 3.x

cron