News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Problem creating a new product

Started by m.davide82, October 14, 2021, 14:16:28 PM

Previous topic - Next topic

m.davide82

Hi Jorgen,

I did a copy of the website, I updated VM and the info I'm saying to you are from the copy of the website.
In the new copy, the product that always appears when I create a product is the 10216.

No browser cache, I tested in various browser, incognito and various computers.

I'm going crazy!


Thanks,
Davide

Jörgen

What language do you use ? Is italian default?
If You change back end language, still the same id ?

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

m.davide82

Hi,

Yes, italian default and english secondary.
If I change the backend language, when I click on new, I get always the same ID.

Thanks.
Davide

Jörgen

Increase the autoincrement value with 5 f.e and see what happens.

If You do not save the product, no harm done.

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

m.davide82

Hi Jorgen,

I just did it but I always see the same product when creating a new one... :'(

Thanks,
Davide

GJC Web Design

You need to debug what is happening at the product model level... why is the form filling and what queries are being made etc...
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

Milbo

I think you should update to this version https://dev.virtuemart.net/attachments/1287/com_virtuemart.3.8.9.10544_package_or_extract.zip FIRST!

Somehow that reminds me to a bug, maybe it is fixed already. If not,... the problem is not the index of the table, or something like that. The problem is not storing. I am sure, when he changes the virtuemart_product_id in the form and URL to 0 it will create a new product.

The problem is the loading. He opens a product edit with id=0 and gets the data of id =X and there is the error. But as I said, please use first the most recent version. Thank you.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

m.davide82

Hi Milbo,

thank you very much.
I did it, but I didn't solved.
I updated to the latest version too, but nothing.

Any idea on how can I solve it?
Thanks a lot.


Regards,
Davide

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/

m.davide82

Hi Milbo,

just did it, thanks.


Regards,
Davide

Studio 42

Do you hecked your .haccess rules ?
If you cache the PHP/HTML files in admin, thee you can have this issue.
If you use cloudflare or other server caching system then you can have this issue.
Check in the product edit form if this ID is set to 7855
Try to use a link with a non existing ID
For eg
administrator/index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id=100000
OR administrator/index.php?option=com_virtuemart&view=product&task=edit&cache=29102021And check if the form is empty.