News:

Looking for documentation? Take a look on our wiki

Main Menu

Children

Started by Topknotch, November 29, 2015, 19:09:00 PM

Previous topic - Next topic

Topknotch

Joomla 2.5.28 - virtuemart 3.0.10.
Bit of an odd one this -
On the flypage where a 'visitor' can choose a 'variant' of the product i.e say - small, medium , large .
When they are priced differently , the price changes to show them BUT if they then decide to change their mind and go with the original one, it dosent change back.
I thought originally this was a template issue but I put Beez on and it was the same. I have even disabled all modules in case it was one of them affecting it and it is still the same.
Any ideas greatly appreciated.
Thanks


GJC Web Design

any js errors?  vmprices.js handles this...  btw vm3.0.12 is the current stable
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

Topknotch

This is what it is showing - Is noone else having this problem then  ?

Use of getAttributeNode() is deprecated. Use getAttribute() instead.
   

...xt");}};}n=null;if(document.createElement("div").getAttributeNode("id")){Element...

mootools-core.js (line 343)
TypeError: $.ui is undefined
   

var proto = $.ui.autocomplete.prototype,

   
jquery....er=8996 (line 11, col 5)
Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
   

...eturn t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=...

jquery.min.js (line 2)
GET http://www.**/anglia/carp/...-product-1-detail.html?tmpl=component&format=raw
   
200 OK
      592ms   
jquery.min.js (line 2)
GET http://***.co.uk/anglia/carp/tester?tmpl=component&format=raw
   
500 View not found [name, type, prefix]: category, raw, virtuemartView
      148ms
   

GJC Web Design

have u updated to 3.0.12?
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

Topknotch

Yes I have, sorry forgot to mention that.

GJC Web Design

from the debug above it looks like a mootools/jquery conflict although may be only warnings

the problem is I assume this

http://***.co.uk/anglia/carp/tester?tmpl=component&format=raw

it gives a 500 server error

you need to find this error in the logs and solve
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

Topknotch

#6
The problem is the url's produced are incorrect , for example -
Main product page with the variants of different prices -
http://www.***.co.uk/anglia/shooting/rifles/accessories-1/bisley-dummy-detail.html
click on a variant and the url changes as it should -
http://www.***.co.uk/anglia/shooting/rifles/accessories-1/bisley-dummy-4-detail.html
price changes as it should as well, however then try another variant and the url becomes -
http://www.***.co.uk/anglia/shooting/rifles/accessories-1/1/2lb%20%20Green%20Puppy-detail.html

as you can see the url is completely wrong, it has insterted %'s and it actually should be -
http://www.***.co.uk/anglia/shooting/rifles/accessories-1/bisley-dummy-1-detail.html
Is no one else experiencing these issues ? ??
This is obviously really bad and any help would be greatly appreciated.
Thanks

GJC Web Design

%20 html encode for a space

where or what is 2lb  Green Puppy  ?

it is very hard to help u without real urls

Are these simple customfield or children or variants?

what one on the VM demo site matches your set up?
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

Topknotch

Hi, yes sorry I am setting up a test site now for you to view.
In the mean time -
Please see images attached, one for the custom field, the other showing the variants on the actual product page.
As you will see the 1/2lb green puppy is the name of one of the variants, which obviously shouldn't be in the url
I will send you links shortly to the test site.

GJC Web Design

but your on VM3.0.9!  VM is regularly updated for a reason .. security and bug fixes..
If something doesn't work the first thing to check is on the latest stable release which is VM3.0.12!

This could easily have been fixed already...

I would never use forward slashes in any data input.. may be the problem
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

Topknotch

wooooo there !! as I mentioned in the post above I have updated to the latest on the MAIN TEST site, those images were taken from the LIVE MAIN site.
I apologise for the confusion but I have updated and the problem still exists, the error exists whether there are /'s or not, so that is not the problem.
I will pass the NEW TEST SITE information on shortly, I cannot pass the current MAIN TEST site information on as it is currently being worked on.
Thanks

Topknotch

ok , here is the NEW test site.
Running 3.0.12, showing same errors - http://topknotch-solutions.co.uk/testatandg/
You will see on the front page I have created a new product called - tester with variants, all the drop down variants are different prices.
As you will also see you can only change the price once, it wont change again after one change.
The URL problem dose appear to be linked to the /'s being used but that's odd as they shouldn't be in the url any way.
Hope that makes sense and I appreciate any help.

Topknotch

any ideas on this ? anyone ?
Thanks

GJC Web Design

why are u using multi-variants when you only have 1 level of choice?

do you need stocking?

Why not simple cart variants or simple parent/child?

u can see here all the possible permutations ->  http://test2.gjcwebdesign.com/joomla3/default-products

the only one using "C" variants is the  last multi variant and it works fine
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