ADD A VENDOR

Phoca Cart - complex e-commerce extension
stefano
Phoca Member
Phoca Member
Posts: 10
Joined: 19 Jul 2019, 16:39

ADD A VENDOR

Post 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

Tags:
User avatar
shibumi
Phoca Enthusiast
Phoca Enthusiast
Posts: 97
Joined: 11 Sep 2016, 22:22

Re: ADD A VENDOR

Post by shibumi »

Ya, I noticed that too... seems there are a few settings that are not changeable - sections, units...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: ADD A VENDOR

Post 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

Image

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
If you find Phoca extensions useful, please support the project
stefano
Phoca Member
Phoca Member
Posts: 10
Joined: 19 Jul 2019, 16:39

Re: ADD A VENDOR

Post 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
User avatar
shibumi
Phoca Enthusiast
Phoca Enthusiast
Posts: 97
Joined: 11 Sep 2016, 22:22

Re: ADD A VENDOR

Post 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
User avatar
shibumi
Phoca Enthusiast
Phoca Enthusiast
Posts: 97
Joined: 11 Sep 2016, 22:22

Re: ADD A VENDOR

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: ADD A VENDOR

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: ADD A VENDOR

Post 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
If you find Phoca extensions useful, please support the project
stefano
Phoca Member
Phoca Member
Posts: 10
Joined: 19 Jul 2019, 16:39

Re: ADD A VENDOR

Post 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
User avatar
shibumi
Phoca Enthusiast
Phoca Enthusiast
Posts: 97
Joined: 11 Sep 2016, 22:22

Re: ADD A VENDOR

Post by shibumi »

Hmm, I tried switching default editor to TinyMCE, and still won't save...
Post Reply