Page 1 of 2
ADD A VENDOR
Posted: 04 Aug 2019, 10:34
by stefano
Hello comunity,
is just impossible to add a Vendor in my Phoca cart. Basically once I choose the vendor is not possible to "save", "save to close" or "close".
The only option available is refresh the page or exit with the back arrow.
Could you help me? I have just realized that If there isn't a vendor no notification will be sent to the admin in case of a order.
Thanks
Re: ADD A VENDOR
Posted: 04 Aug 2019, 16:01
by shibumi
Ya, I noticed that too... seems there are a few settings that are not changeable - sections, units...
Re: ADD A VENDOR
Posted: 04 Aug 2019, 22:18
by Jan
Hi, which version of Phoca Cart do you use?
(which environment do you run? Joomla! version? PHP version?)
Testing the latest Phoca Cart version - 3.3.0 , everything is OK there
When you test it e.g. in Google Chrome browser and you enable Developer Tools (F12), do you get any Javascript error there when trying to save the Vendor (
https://www.phoca.cz/documents/16-jooml ... -conflicts )?
Jan
Re: ADD A VENDOR
Posted: 04 Aug 2019, 23:13
by stefano
Hello,
here you are my information:
- phoca cart vers. 3.3
- joomla 3.9.10
- PHP vers. 7.2
I hope this helps you
Re: ADD A VENDOR
Posted: 05 Aug 2019, 00:51
by shibumi
Joomla 3.9.10
PhocaCart 3.3.0
PHP 7.3
Does not save the vendor
Should also mention, after selecting a user, none of the buttons do anything - Save, Save & Close, Save & New, and Cancel all do nothing after selecting a user, or Vendor image
Re: ADD A VENDOR
Posted: 05 Aug 2019, 02:39
by shibumi
Code: Select all
Uncaught TypeError: Cannot read property 'value' of null
at Object.getContent (editor.min.js?08e78000c0d5d35df43b74d62de76f84:2)
at Object.Joomla.submitbutton (index.php?option=com_phocacart&view=phocacartvendor&layout=edit:307)
at HTMLButtonElement.onclick (index.php?option=com_phocacart&view=phocacartvendor&layout=edit:263)
getContent @ editor.min.js?08e78000c0d5d35df43b74d62de76f84:2
Joomla.submitbutton @ index.php?option=com_phocacart&view=phocacartvendor&layout=edit:307
onclick @ index.php?option=com_phocacart&view=phocacartvendor&layout=edit:263
Re: ADD A VENDOR
Posted: 05 Aug 2019, 12:02
by Jan
Hi, thank you for the info. Which editor (Joomla! editor, e.g. tinymce, jce, ...) do you use?
Which language do you use when administrate the Joomla!?
Jan
Re: ADD A VENDOR
Posted: 05 Aug 2019, 12:43
by Jan
I have installed now editor JCE and get the following error when saving vendor:
components/com_jce/editor/libraries/js/editor.min.js?56b8c719d7877da14e48463439390c53
editor.min.js?56b8c719d7877da14e48463439390c53:2 Uncaught TypeError: Cannot read property 'value' of null
at Object.getContent (editor.min.js?56b8c719d7877da14e48463439390c53:2)
at Object.Joomla.submitbutton (index.php?option=com_phocacart&view=phocacartvendor&layout=edit:266)
at HTMLButtonElement.onclick (index.php?option=com_phocacart&view=phocacartvendor&layout=edit:222)
So it seems there is some problem when JCE is enabled.
Please try to switch to tinymce back (for test only) and let me know if everything is OK?
EDIT: It seems I have found the problem, so hopefully, this will be working in next version.
Thank you for all the info.
Jan
Re: ADD A VENDOR
Posted: 05 Aug 2019, 13:57
by stefano
Congratulation Jan,
You fund the error!! I have changed and now I have just added a vendor.
Your support is just amazing.
Thanks
Re: ADD A VENDOR
Posted: 05 Aug 2019, 22:15
by shibumi
Hmm, I tried switching default editor to TinyMCE, and still won't save...