Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Dropdown Shopping Cart(SKU# FLEX-00001)

TOPIC: Conflict with virtuemart category modules and urls

Conflict with virtuemart category modules and urls 5 years 10 months ago #15593

The customer needs his website since it is live so I disabled the extension from the website and the relevant modules. In order to reproduce the problem please enable extensions and the relevant modules .

Problem Below :



I have purchased from you the Flexible - Virtuemart Drop Down Shopping Cart on 30th of April 2018 ( Order No Order No. 72272). After installing it I have the following problem with my site ( www.rapidsat.com.cy ). Credentials to the site have been sent via support email

The virtuemart category modules ( for the Greek Language www.rapidsat.com.cy/gr/) for the side menu and the modules that take products in the Gr Homepage do not work properly.
The products in the gr homepage point to to the English urls with the gr in front ( www.rapidsat.com.cy/gr/products/cables/coaxial-connector-cables/414801-sk6f-class-a-detail) instead of the correct one that should be ( www.rapidsat.com.cy/gr/proionta/kalodia/keraias-analosima-kalodia/414801-sk6f-class-a-detail).
Also the Greek categories contain the Greek Products but when clicked you get a page not found since the urls the Greek products get are the English ones with the gr in front.

How to recreate Isuue

1st step :

Go to www.rapidsat.com.cy/gr/ and click on a product. The url is wrong that is why you get a Page not found message. ... it should not be www.rapidsat.com.cy/gr/products/cables/coaxial-connector-cables/414801-sk6f-class-a-detail
but www.rapidsat.com.cy/gr/proionta/kalodia/keraias-analosima-kalodia/414801-sk6f-class-a-detail

2nd step :

Same problem when you go to a category in Greek www.rapidsat.com.cy/gr/proionta/thleoptiko-systima/dektes . Side menu and products have wrong urls ... they get the url from english with a gr in front.

If I disable your extension and clear cache ( browser and system—> Clear Cache ) the problem is gone.
Last Edit: 5 years 10 months ago by Prodromos Kikas.
The topic has been locked.

Conflict with virtuemart category modules and urls 5 years 10 months ago #15595

Hi,

This problem has been fixed via emailing. So, i am closing this topic.

But in case anybody experiencing this problem, the solution is;

- Open this PHP file: /public_html/plugins/system/FlexibleVm3cart/FlexibleVm3cart.php
- Find this (line#27):
VmConfig::loadConfig();
- Replace it with this:
// VmConfig::loadConfig();

and that’s it. That line was exist to load the official Virtuemart’s config file on the page. I really can't be sure why it caused a localization problem on some website though, but apparently it does.

FYI: We were loading the VM config file within our plugin, only in case it hasn’t been loaded before. It was just a precaution. There is nothing wrong to comment that line out.
The topic has been locked.
Time to create page: 0.251 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