Forums / Bug Reports / [Done 1.3.8] no product name/desc/url fix

[Done 1.3.8] no product name/desc/url fix

Locked

Views: 1,767

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
5 Mar 2008, 8:48 PM
#1
eoin_murphy avatar

eoin_murphy

New Zenner

Join Date:
Dec 2007
Posts:
3
Plugin Contributions:
0

[Done 1.3.8] no product name/desc/url fix

No exactly a bug but it did have me stumped for a while.
I accidentally deleted all of the languages.
I didn't notice any difference until a long time later I went to edit/create products and the page was missing the name/description/url fields (obviously given that they are language related)
It might be good to have a check on that page for a language (alternatively, given that it's such a no-brainer maybe it's not necessary)

5 Mar 2008, 9:38 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: [Done 1.3.8] no product name/desc/url fix

eoin_murphy:

I accidentally deleted all of the languages.What version of Zen Cart are you using?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Mar 2008, 1:43 PM
#3
eoin_murphy avatar

eoin_murphy

New Zenner

Join Date:
Dec 2007
Posts:
3
Plugin Contributions:
0

Re: [Done 1.3.8] no product name/desc/url fix

DrByte:

What version of Zen Cart are you using?

I installed 1.3.8a

6 Mar 2008, 7:45 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: [Done 1.3.8] no product name/desc/url fix

  1. If you've deleted the languages, then you've also deleted the product details in those languages. You'll have to either re-enter that data or restore from backups.

  2. I recall writing code to prevent deletion of the last-remaining language via the admin. Will double-check that to see if there's a more foolproof way to be sure it can't happen in future versions.

Edit: Confirmed that v1.3.8 includes a check to prevent deletion of the default language.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.