Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - StyleMart (SKU# FLEX-00018)

TOPIC: not show shipment method

not show shipment method 9 years 4 months ago #11435

Hi

not displayed shipment method

clean installed from QuickStart
nothing more plugins/modules installed
all settings come from QuickStart (SEF OFF, cash off)
"Flexible VM2 Template" plugin : Hide shipping rates "Yes"
local Apache server, PHP 5.5

Joomla 2.5.19 Virtuemart 2.6 / StyleMart 1.0

What i do:

- Add product to cart
- Open the shopping cart
- Login (or provide address through guest checkout) (if not provide address - displayed shipment method !!!!)
- Select shipment method

attempted, but have no luck:

1. edit file /templates/flexible_stylemart/html/com_virtuemart/cart/default_pricelist.php
look for this line:
$SelectShippingAjax = "jQuery('#selectshippingContent').load('". JRoute::_('index.php?option=com_virtuemart&view=cart&tmpl=component&task=edit_shipment',$this->useXHTML) ." #shipmentForm')";
 
and replace it with this:
$SelectShippingAjax = "jQuery('#selectshippingContent').load('". JRoute::_('index.php?option=com_virtuemart&view=cart&tmpl=component&task=edit_shipment',$this->useXHTML) ."')";
The topic has been locked.

not show shipment method 9 years 4 months ago #11439

Hi,

What happens if you DISABLE the "Hide shipping rates from anonymous" through Plugin Parameters?

I have seen this problem before. It should work just fine after you disable that option.
We have used a special method to figure out if the user has provided any shipping address. If the parameter of "Hide shipping rates from anonymous users" is enabled, this method is being run to figure out if the user has provided any shipping address or not.

(this method is not just checking if the user is logged in or not. Because users can still provide shipping address without being logged in -- Guest Checkout)

But in some servers this method doesn't work properly and throws an error (if you check your php_logs probably you will see the PHP error message in there). This is actually why we put that parameter in the plugin. If the method doesn't work on your server, then simply disable this option.

Regards.
Last Edit: 9 years 4 months ago by Support.
The topic has been locked.

not show shipment method 9 years 4 months ago #11442

/templates/flexible_stylemart/html/com_virtuemart/cart/default_pricelist.php
returned to :
$SelectShippingAjax = "jQuery('#selectshippingContent').load('". JRoute::_('index.php?option=com_virtuemart&view=cart&tmpl=component&task=edit_shipment',$this->useXHTML) ." #shipmentForm')";

DISABLED the "Hide shipping rates from anonymous"
do nothing - "No shipment selected"
The topic has been locked.

not show shipment method 9 years 4 months ago #11443

PHP log no has error:
Warning: Spoiler! [ Click to expand ]
The topic has been locked.

not show shipment method 9 years 4 months ago #11446

when testing on linux hosting - showed shipping method

ok
thanx for help
The topic has been locked.

not show shipment method 9 years 4 months ago #11475

sure, your welcome.

case solved. topic is closed.

regards.
The topic has been locked.
Time to create page: 0.097 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo