Back to Octoshop Product Plus Support

nikki15963
nikki15963

I'm running OctoShop version 1.3.19 on October build 349...

When installing this plugin, for starters it would not install, the error I got was: exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mydb.vdomah_osproduct_properties' doesn't exist' in /website/public/vendor/laravel/framework/src/Illuminate/Database/Connection.php:319

I went to look at the update.yaml file and can see it does not relate to any files in the update folder that are creating the initial tables. So I manually added them to the update.yaml file and went ahead to try and install it.

I could not run products_add_views_column.php so excluded that from the update.yaml file

That seemed to install the plugin.

But now when I go to the Shop and Properties menu to create a new property, I get this error: The partial '@/plugins/vdomah/osproduct/partials/__form_buttons.htm.htm' is not found.

Not sure what other errors lurk behind this, but for a paid product (even at the reasonable price of $15) I would not expect it to be riddled with these errors.

Can you please fix the plugin??

vdomah
vdomah

Hello, sorry for incovenience. Fixed all things you described and tested. Try once more please.

I'm making more general testing now to make sure all is working and compatible with latest October build.

nikki15963
nikki15963

Hi Vdomah Thanks for your very quick response. I've just reinstalled the update and it's installed fine with no errors in the backend. Those previously reported errors are resolved.

But I have found some other issues now. I'll report them here to you for your attention:

  1. Adding colour property Although I can add a property that is selected as a colour, I cannot add any items. There is only a modal background but no popup window. And the console shows this error: GET http://mydomain.com/plugins/vdomah/shoptoproduct/assets/js/jscolor.min.js 500 (Internal Server Error) Uncaught ReferenceError: jscolor is not defined

  2. When I save a Property, I get this message flash: vdomah.osproduct::lang.app.name updated

  3. The tab title of the property shows vdomah.shoptoproduct::lang.fields.options instead of the actual name I have given it

  4. When I try and add an item to a property that is not a colour, just a regular property type, I get the pop up window but when I click save I get this error: "Call to undefined function Vdomah\Osproduct\FormWidgets\slugify()" on line 246 of /mydomain/public/plugins/vdomah/osproduct/formwidgets/Options.php

I'll let you know if I find any other issues, but I will be pleased to hear when you have concluded your testing.

Thanks again for your speedy response.

nikki15963
nikki15963

Hi again Those were all related to the backend. But with the plugin installed, I get this frontend error too:

exception 'Exception' with message 'You must define a $rules property in Vdomah\Osproduct\Models\ProductProperty to use the Validation trait.' in /mydomain/public/vendor/october/rain/src/Database/Traits/Validation.php:50

I'll wait to hear from you. Thanks again.

vdomah
vdomah

Thanks for help with testing! Just uploaded new version of plugin wich fixes all that you've mentioned.

Last updated

nikki15963
nikki15963

Hi

Thanks for letting me know. I reinstalled it, and can create properties now.

Now I can add items to the properties, and they appear to save but when I navigate away and come back to edit them the items are gone. There are no errors being logged for it. (It might also explain why no choices are showing in my properties tab on products)

I have a question - on the colour property, when creating an item, is there any way to name the colour, instead of just the hex value? It will be more user friendly to be able to select the colour based on a name, rather than the hex value especially if some are very similar. Currently the slug overrides with whateve the hex value is, I cannot change it... but maybe this is connected to the first issue mentioned?

I'm happy to help you test this plugin further but I'll be away for a week... so will check in with you when I get back.

Thanks again for your speedy response to these issues.

vdomah
vdomah

About color naming it's the way it works now like you described - names are hex values. I can make the separate field for name, thanks for suggestion.

Will check missing items also, thanks.

nikki15963
nikki15963

Hello I'm back working on this project again, but when we left off these is still a major issue that needs to be resolved before the plugin is actually usable. Are you able to take a look at it soon? I will help you with testing as I did before...

So, after your previous fixed, I can create properties now.

However, when I can add items to the properties, they appear to save (and are present in the database) but when I navigate away and come back to edit them the items are not visible anymore. There are no errors being logged for it. (It might also explain why no choices are showing in my properties tab on products).

Is this description helpful? Do you need any more information to resolve it?

I look forward to hearing from you soon. Many thanks Nikki

vdomah
vdomah

Hi there,

Added new version with fix of your problem.

nikki15963
nikki15963

Hi Thanks for your response, but unfortunately the changes you made have not fixed the plugin.

The problem is the same, I can add Properties, but cannot apply them to products... they are simply not available to add. And there are no error messages.

If it helps you to debug the issue, I'm running the following versions: October core - 361 Octoshop - 1.3.19

Please let me know if I can provide any more information to assist.

thanks again Nikki

nikki15963
nikki15963

Hello Can you confirm when you will be fixing the plugin please. It is becoming critical for a project that I am working on.

Thank you Nikki

vdomah
vdomah

Hello, sorry, went to another country for a while. Will do today

vdomah
vdomah

nikki15963 said:

Hello Can you confirm when you will be fixing the plugin please. It is becoming critical for a project that I am working on.

Thank you Nikki

Can you please check your browser console to see any js errors and post them here if there are some? On my side adding properties is working as expected. There may be some conflict with other plugins or some front-end conflicts so js errors log can help us to find the cause.

1-13 of 13