News:

Looking for documentation? Take a look on our wiki

Main Menu

Virtuemart and joomla 4/5

Started by Eagle21, May 10, 2019, 19:51:28 PM

Previous topic - Next topic

philip_sorokin


micropalla

Just installed the stable version.
First of all thank you for your work.
I have a problem with "Shop" page since there is no State/Region/Province for Italy so it is not possible to save.
How can I solve this issue?
Thank you!

jenkinhill

Is this with the latest stable - VirtueMart 4.0.0 10645 ?   I have no problem with Italian states.

https://dev.virtuemart.net/attachments/download/1310/com_virtuemart.4.0.0.10645_package_or_extract.zip
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

@ micropalla - normally means a JS error with your template .. much more information needed though
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

micropalla

#79
Yes it is the latest stable - VirtueMart 4.0.0 10645, I downloaded it this morning.
Template is Ja_elicyon on Joomla 4.0.4.
Do you need some more info?

GJC Web Design

is there a JS error?
what is the live url?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation


micropalla

Anyway no State / Province / Region for any country. Not even USA.

micropalla

I have also one more issue.
I created a menu voice "Shop" with Category Layout but as I click on it i receive an error response.

CALL TO A MEMBER FUNCTION DISPLAYMEDIATHUMB() ON NULL
Prova a visitare una delle seguenti pagine

/var/www/vhosts/atenagalleriadarte.com/httpdocs/templates/ja_elicyon/html/com_virtuemart/sublayouts/products.php (78)

micropalla

I switched the template to Cassiopeia and the CALL TO A MEMBER FUNCTION DISPLAYMEDIATHUMB() ON NULL issue disappeared so I think is a problem of the template.
Unfortunately with Cassiopeia template the regions of Italy are still missing and moreover as I click on the article I receive one more error:

1253 COLLATION 'utf8_general_ci' is not valid for CHARACTER SET 'utf8mb4'

jenkinhill

I agree that the states do not display on that site.  No https - I always use SSL for sites, even when testing.

I don't have VM on J4 - I won't be using J4 for many months yet.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

micropalla

I try to go in https mode and I will reply.
I am asking my hosting to install a let's Encrypt certificate.

micropalla

No way!
Now the website has HTTPS but State/Region/Province are still not available.

Jumbo!

Quote from: micropalla on April 28, 2022, 17:18:44 PM
No way!
Now the website has HTTPS but State/Region/Province are still not available.

It has nothing to do with HTTPS. There are also no JS errors on your site. The issue is created by the jQuery Chosen library being loaded by your template. If you switch to any other template, the problem will be resolved.

The states are getting loaded correctly, but you can not see it because the Chosen library is not updating the custom HTML output.

If you add the following JavaScript to your template, then the issue will be resolved immediately.

jQuery(function($) {
$(document).on('ajaxStop', function() {
$('select[name="virtuemart_state_id"]').trigger('liszt:updated').trigger('chosen:updated');
});
});


Remember to clear the cache of your site and your browser after adding the custom JS to your site. Otherwise, you may not see any changes.


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/