1. raydekker
  2. RO CSVI
  3. Sunday, 17 July 2016
  4.  Subscribe via email
Joomla version 3.6.0
Virtuemart version 3.0.16
CSVI version 6.6.2
Product Builder version 3.0.8

G'day,

There's something funny/weird happening to my product builder.
While testing before it looked all good, in the backend, but in the frontend I noticed an important issue...

The group / product prices are not automatically filled out anymore, NOR is the total price.
So when I select one of my custom products with default products configured I have to click on the actual
products in the groups again to update somehow (so when it's set on thumbnails only, otherwise (in a dropdown menu)
I'm not able to select anything in case of one product. When there are minimal 2 products I can select another product
then select the original product gain and then it DOES update and show the price etc for that product and that group.

Also I found my steps (displayed up the top, so 1,2,3,4,5&6) are not clickable anymore (no response) even though this is set to clickable "yes" in the menu item config.

I've tried copying my working (online) version to my test server and after updating all the extensions the problem persists.
So I believe it's not something in my specific config as everything worked fine before importing it via the new CSVI product builder import extension.
And the default products per group are being displayed (and imported) but no value nor properly selected.
However, it can be something in the way I import.

Please find attached the screenshots showing the issue.
The working website so far (but without importing product builder groups, tags etc):
http://www.btechsolutions.com.au/pcbuilder-btsvalue

Something to do with autoupdate? Or javascript error? I found in Mozilla Firebug>console>errors the following:

in /pcbuilder (so the main menu item):
TypeError: urlmenu is null
window.open( this.options[ this.selectedIndex ].value, '_self');

in /components/com_productbuilder/assets/js/update.js line 2, col 6155:
TypeError: document.id(...) is null
...ed";)):(e[i].removeProperty("selected";),document.id("id"+d+"_0";).set("value",0)),...

in /components/com_productbuilder/assets/js/update.js line 2, col 6063:
TypeError: document.id(...) is null
...ut"==o?(e[i].removeProperty("checked";),document.id("id"+d+"_0";).setProperty("che...

Hope this is an easy one...

Breakdesign support link (as at first I thought it was something wrong in the actual PB extension):
https://breakdesigns.net/support/product-builder/6402-autoupdate-and-prices-stopped-working

Thanks in advance! :)

Best regards, Ray
Accepted Answer Pending Moderation
A "working" version of the TEST website:
http://www.btechsolutions.com.au/test/pcbuilder-btsvalue

Please note that I've only activated the above link within the Product Builder section, so when you click on "pc-builder" for example in the menu that won't work as I haven't re-programmed the other menu items yet.
It will take 5 minutes and I can do this if required but I think the above shows the issue perfectly.

I can setup logins on request but please let me know if this is required.

I hope this helps.

Best regards, Ray
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello Ray,
Checking into this issue, it is when there is no default product set, the price fields are null. Your test site shows the first product in the drop down list as auto selected but it may not be updated in database to be the default product. The field to be imported as default product is default_product_sku. i need your sample import file to check on this issue. Can you post sample of your import file and also debug log? Also send a private message of your test site administrator login details. That would help me to check what is going wrong during import.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hi there,

Thanks for the quick reply (as always ;) !

I am using the field default_product_sku.
Please find attached the sample import file that imports the groups and their assigned default products.

Important thing I found too after creating the log just before.
When I import my PB Groups it actually works but the steps are not assigned, as I have to set this again in the menu manager.
As soon as I import the PB Tags to get compatibility working it gets messed up. So it sits in the tags / compatibility somewhere...

I have also attached the sample import file for the tags plus the tag import log file.

Update while doing the above:
I was trying to get a log file for the PB Tags import so deleted the tags again, imported it again and I don't know what changed but now it IS displayed correctly!
So http://www.btechsolutions.com.au/test/pcbuilder-btsvalue now all of a sudden seems to work.
BUT...
http://www.btechsolutions.com.au/test/pcbuilder-btsbasic (the second test product) does the exact same as what the first one used to do so:
- no prices displayed
- can't click on the steps (1-6)
- default products however are assigned correctly
- it updates the price when you re-select it (autoupdate or something)

On the positive side: Now we've got a working custom product (btsvalue) AND a non-working custom product (btsbasic) while using the same import files (5 and 6).
This should be good for testing and I hope we find out what's wrong.

I've sent you the login details too as requested in a pm.

Sakis from Breakdesign also said:
"Hi
Without being 100% sure, it seems like your groups do not have an id assigned.
You can visit the table pb_groups in your database to check it.
Kind Regards,
Sakis"

Best regards, Ray
Attachments (4)
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello Ray,
Thank you so much for all the details, it really helped us to find the cause for the issue. We are working on the fix and will send you the patch once done.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Ok awesome! Glad I could help!
Looking forward applying the patch.
If you want to do some testing (on the test site http://www.btechsolutions.com.au/test) please feel free uploading extensions / modules as you wish or modify anything on there. The permissions on the files / folders should be set to work ok.

Thank you!

Best regards, Ray
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hello Ray,
I was wrong in finding the cause of the issue, there is nothing to do with CSVI code, digging more into the issue i found that it is related to compatibility check for custom products in product builder. Your Custom groups are connected with each other with categories, so if the tags are shared with any other product in category other than the ones they are connected with, you need to set your compatibility check to 0. If the tags are shared with products inside same category, the compatibility check has no effect. So for custom product BTS Basic, set compatibility check to no and check your frontend, it should work. Your BTS Value worked instantly because you had removed all the tag and product reference. Let me know if this helps.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hi Tharuna,

mmm, you lost me a little bit :)
I understand what you say about the compatibility check for custom products, which I can change to "no" but it is on for both products "BTS Basic" and "BTS Value".
And I do want to use the compatibility check so people can customize the custom products with set default values (so they can change the default product per group to something more their taste).
This works on the current online website: http://www.btechsolutions.com.au/pcbuilder-btsbasic for example.
I got it to work here by doing all the product builder related stuff (group & tag creation etc) manually.
So in my eyes this should be able to work with compatibility turned "on" right?
I mean at the current official online website (http://www.btechsolutions.com.au/pcbuilder) I made a selection of custom products (in a dropdown menu) and after selecting that it shows you that specific product but there are also tags assigned over multiple categories...
There is something to do with the tags and compatibility as you said but it works in the online version so I don't understand the mistake I made yet (to me it's the same setup as the manually added way).

I'm sorry for not understanding fully what you mean here...

Thanks, Ray
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Hello Ray,
So in my eyes this should be able to work with compatibility turned "on" right?

I do understand what you are saying on manual entries, there could be something which i am missing out. Is it possible for you to send me the mysql dump of your product builder tables of your live site to my email tharuna@csvimproved.com? I am hoping that products and categories data remains the same on both test and live site. I really want to compare your test site and live site data to find out the cause.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Getting closer I hope, I found that it is related to 1 product only, so when I don't assign tags to that 1 specific product it works but still autoupdate issues regarding Custom Field Variants when switching products.
I've send you an email with details and import file... TBC :)
Thanks heaps
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
I think we've had a breakthrough...

Partially it had to do with silly me, I made a stupid mistake which is the following:
There was NO DEFAULT PODUCT set for the 4 products (in the group "Memory";) with stockable variants in them...
So no default products (one out of these 4 available) set for the PB Custom Product Group "Memory".
And even in one or a few cases there was a product set that was actually in a VM category that was not "compatible".
I think fixing this solved most of our issues for now and that one product that was not working now is...

I still have to import the tags file twice somehow but we'll keep an eye out for this issue (which is easily solved by just importing twice :) )

However the issue that's still there is that when a motherboard is selected which selects DDR4 Memory, then you select the actual memory in group "Memory" followed by changing motherboards again, so lets say going back to a DDR3 motherboard, the previously selected DDR4 memory is still somehow selected and you can even continue (so go to step 2) without having to change this, which is wrong as this is a non-compatible product.
Example http://btechsolutions.com.au/test/pcbuilder-btsvalue :
- It select motherboard H81M by default with DDR4 Dual Channel memory.
- Then select the motherboard M5A97 which is a DDR3 memory board and compatibility only shows 2x DDR3 products
- But the DDR4 memory from motherboard H81M is still selected somehow and you can click on step 2 already which is wrong.
Something to do with autoupdate?
I've tried using thumbnails (same as the processors) to test if it works there but same issue ( http://btechsolutions.com.au/test/pcbuilder-btsbasic )

I will address this issue to Sakis from Breakdesigns as this must have got something to do with the coding on their end...

Thank you very much for all the support on this issue and resolving it! It helped me a lot and I can now continue to the next stage... importing the menu items with steps related to the PB custom products :) Followed by automating the imports to download the excel file from my local NAS server, converting to CSV etc :)

Best regards, Ray
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
Hello Ray,
The issue of importing file twice has been identified and fixed. This will be included in our CSVI 6.6.3 release today. Please update and let me know if its solved.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 12
Accepted Answer Pending Moderation
Hi Tahruna,

Thanks again! This is confirmed! It works as a charm!

The other problem regarding autoupdate of Stockable custom fields I have relates to Breakdesign and the way I'm assigning tags to products.
In short Sakis (Breakdesign) replied to this on his forum saying: "In short your 3rd group (Memory) should have the same tags as the 2nd (Processor) if you want these 2 groups to depend on the 1st."
That should solve that issue too then :)

Ok, I'm up to the next challenge: importing my steps into the menu items, as when I empty the VM database and the PB products, groups & tags. I also have to set my steps again, so add the line breaks in the steps module in the menu manager.
I've created a thread for this: https://csvimproved.com/forum?view=topic&catid=44&id=33357

I think we can close this topic now, awesome!

Best regards, Ray
  1. more than a month ago
  2. RO CSVI
  3. # 13
Accepted Answer Pending Moderation
Hello Ray,
Glad to hear that your issues are all solved. I have replied to the your other thread about menu manager :)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 14
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!