News:

Support the VirtueMart project and become a member

Main Menu

Products kicked out of category on save

Started by melsonmarketing, August 30, 2019, 15:30:27 PM

Previous topic - Next topic

AH

Kicked out - is not what I think is happening here

Check the listing of the categories - I think you will find that current categories for the item along with the category drop list is empty!

Therefore on a save - it stores no setting for category.

Check console and see if any js errors or php errors

A fix was made to stop this happening i.e dont store "blank categories" if the category listing has failed to load.

Regards
A

Joomla 3.10.11
php 8.0

GJC Web Design

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

melsonmarketing

#17
Thanks for your replies.

I didn't check the thread suggested by GJC Web Design later.

Attached some screenshots that might make it clearer:

Screen1 shows, that the categories are there
Screen2 shows the problem to assign the product to the cat
Screen3 is (a part of) the category overview
Screen4a is a product before changes
Screen4b after saving changes - no category. (wasn't allowed to post)


Jörgen

Screenshots ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

melsonmarketing

Sorry Jörgen - missed to save.
Thanks for your hint

Jörgen

Inconsistent type for the dbase files ? Collation ?

How does the category Kleider look ? Published ?

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

AH

#21
Looks like it is as I said

There are NO categories loaded on the product page which is the first issue

It looks like you have something in your setup that is causing issues - and GJC noted such things in the related article

One observation:
I reported categories being removed - this was due to the fast save issue and was resolved by the VM team. That issue is no longer causing any problems and has been working for some time.

So that leads to 2 questions:

1 - Why are your categories on the product page not getting loaded - what is your setup that results in this.
2 - Why is VM allowing a product save that is not detecting non loaded categories and thus allowing an "empty" category value to be stored.

Regards
A

Joomla 3.10.11
php 8.0

Studio 42

Perhaps PHP max post size problem or something similar?
It's hard to say if you dont have all informations.

GJC Web Design

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

melsonmarketing

Thank you all.

@ Jörgen: collation is okay and fixed with admintools, all categories in use are published

@ AH: you're right: On product-view level the categories are not being loaded

@ Studio 42: post_max_size is set to 64MB, memory_limit 256 MB - shouldn't be a problem as I have severeal working shops on the same server with the same setup

@ GJC WebDesign: Yep, that's working - try here: https://www.deko-gama.de

The problem occurs only on productview-level. At the moment we can fix it by using the mass assignment to categories function - but this is very frustrating work as it has to be done after each product edit...

Stay safe and have a nice weekend.

GJC Web Design

Quote@ GJC WebDesign: Yep, that's working - try here: https://www.deko-gama.de

we cannot check this as u have to be logged in as an admin

but screenshot what returns
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

melsonmarketing

Ouch - sorry I missed the admin-part in tzhe URL :-(

But here's a screenshot - looks okay I think

GJC Web Design

yes-- looks fine

be aware that any php notices etc that are returned in the response will break the select .. so do this check on a live edit of a product
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