1. athenacraftsltdltd
  2. RO CSVI
  3. Thursday, 16 November 2017
  4.  Subscribe via email
First of all: Joomla 3.7.4, Virtuemart 3.2.2, CSVI Pro 7.2.3

Hi all, this is a rather odd problem.

I've spent some time trying to get my head around multivariants and studying the tutorial on here and I eventually got it working consistently - the parent product had two dropdowns for the variant options (size and quantity) and selecting a given combination selected the relevant child product and allowed them to be added to the cart - following a product import. I could repeatedly empty the VM database and reimport my file and get the desired results.

After this, I tried a product images import. As soon as this completed, the dropdowns vanished from the product. I have since tried emptying the VM database and reimporting the product import but to no avail - the dropdowns are simply not visible. I know the child products still exist on the site because I can browse to them by following the link in the product title in the back end.

To test, I asked our hosts to roll the site back to a backup taken yesterday afternoon where the dropdowns were still present and did this again and the same happened.
Please let me know what I need to do to get my dropdowns back.

Additionally, the only reason I attempted to import a product image import is because the parent product thumbnail didn't seem to apply when imported via the product import. The image was visible in the product details screen, but there was no image for the product on the category screen.
Accepted Answer Pending Moderation
Hello,
Glad to know that your issue is solved. We would appreciate if you can leave us a review on Joomla Extension Directory.
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. # 1
Accepted Answer Pending Moderation
In case anyone finds this thread when they're searching for a similar problem, my issue was that the name multivariant custom field in the csv file (Variant) was different to the field name in the vm custom fields section (Option).

I know these were right originally, but at one point I had to recover a backup which I presume reset something. Thanks to Tharuna for helping me to hunt this down, and thanks to Roland to the patch that fixed the earlier path issue.
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,
For your Size and Quantity field set Cart attribute and Cart input fields to Yes in VirtueMart custom fields page and then check if you see them on front end.
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. # 3
Accepted Answer Pending Moderation
Sent.

The custom fields tab shows no custom fields applied to the product, but if you select the 'options' cf it updates (despite 'options' being the default option in the list).
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello,
Am I mistaken? Must these always be created manually?

You don't have to create them manually but use Custom fields import operation to create custom fields using CSVI.

I've now done that and the fields are available to import, however the dropdowns still don't appear on the product. I'll send you another couple of screenshots.

Can you post the screenshot of the newly created custom fields? Also on what you see on custom fields tab for a product.
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. # 5
Accepted Answer Pending Moderation
Hi Tharuna,

Thanks. Having thought about it, I thought the first import brought in the custom fields which doesn't seem to have happened. I manually created those (wrongly it appears) prior to generating the screenshots and log you requested.

Am I mistaken? Must these always be created manually?

I've now done that and the fields are available to import, however the dropdowns still don't appear on the product. I'll send you another couple of screenshots.
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello,
Thank you for your email. The screenshots helped to find the issue. You have set Size and Quantity as multi variant field but rather they should be string fields and to be linked to Multi variant custom field. Please have a look at importing Multi variant custom field document to know on how to setup the custom fields..
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. # 7
Accepted Answer Pending Moderation
Hi Tharuna,
I've emailed you the files again. Let me know if they don't arrive.

When I went to check, the custom fields weren't set up (they previously were because I've had it working). I've recreated them and tested it again and the same thing is still happening.
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Hello,
Once I've updated the fields (after the import), I tried going into the template to update the 'size' and 'quantity' fields, but niether appear in the 'field name' dropdown.

Can you post the screenshot of Size and quantity field as you have set in VirtueMart custom fields page? Also post your latest import debug log along with your import file.
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. # 9
Accepted Answer Pending Moderation
Ok, it looks like we've come full circle. The patch now appears to fix the thumbnail issue, but my multivariant dropdowns are missing and no amount of reimporting the file and updating available fields seems to help.

Once I've updated the fields (after the import), I tried going into the template to update the 'size' and 'quantity' fields, but niether appear in the 'field name' dropdown.
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
Sorry I've been so slow in replying. It's really busy at this time of year. I'll try out your patch shortly and report back. Thank you.
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
Hello,

So I have been testing with this and I believe the issue is tackled now. Please load the patch file and check with the template settings as follows:

1. Location of product files set to images/vm/FAB/
2. The images in the import file without path

This should insert the data as
UPDATE `jos_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='125MIC',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='',`file_type`='product',`file_url`='images/vm/FAB/125MIC.jpg',`file_url_thumb`='images/vm/FAB/t125MIC.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '40' 


Let me know how it goes.
Attachments (1)
Kind regards,

RolandD

=========================
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 Roland,

Yes, they are both in the images/vm/FAB folder, and that's a good idea, but it still doesn't work:

I removed the path from the fields and added it into location product files. The file now contains:
 file_title 	file_url 	        file_url_thumb
125MIC 125MIC.jpg t125MIC.png
MYL-125-A4-001 MYL-125-A4-001.jpg tMYL-125-A4-001.png
MYL-125-A3-001 MYL-125-A3-001.jpg tMYL-125-A3-001.png
MYL-125-A2-001 MYL-125-A3-001.jpg tMYL-125-A2-001.png


but the images are imported as:
used url: images/vm/FAB/125MIC.jpg
used thumb url: images/vm/FAB/resized/t125MIC.png
  1. more than a month ago
  2. RO CSVI
  3. # 13
Accepted Answer Pending Moderation
Hello,

So I had a closer look at this and wonder something. Are all your images in the images/vm/FAB folder? If yes, you can put the path images/vm/FAB/ in the Location product files. If not, I am going to need a bit of time to smooth the path handling. I will get back to this.
Kind regards,

RolandD

=========================
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
Accepted Answer Pending Moderation
I gave that a try. Now I'm seeing this:

used url: images/vm/./FAB/125MIC.jpg
used thumb url: ./images/vm/FAB/images/vm/FAB/t125MIC.png

These paths are very weird.

I copied the relevant fields from the file preview when I was importing:
 file_title 	file_url 	                    file_url_thumb
125MIC images/vm/FAB/125MIC.jpg images/vm/FAB/t125MIC.png
MYL-125-A4-001 images/vm/FAB/MYL-125-A4-001.jpg images/vm/FAB/tMYL-125-A4-001.png
MYL-125-A3-001 images/vm/FAB/MYL-125-A3-001.jpg images/vm/FAB/tMYL-125-A3-001.png
MYL-125-A2-001 images/vm/FAB/MYL-125-A3-001.jpg images/vm/FAB/tMYL-125-A2-001.png
  1. more than a month ago
  2. RO CSVI
  3. # 15
Accepted Answer Pending Moderation
Hello,

Instead of putting a / in the field, you can put a dot. I believe that should work. You are one of the few that uses the same folder for both large and small images :)
Kind regards,

RolandD

=========================
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. # 16
Accepted Answer Pending Moderation
Ok, I've tried that, but to do so I need to empty the "Location product files" field, but it defaults to "images/stories/virtuemart/product/" which is wrong.
I tried replacing it with "/", but the two fields are now inconsistent:
used url contains: images/vm//FAB/MYL-125-A3-001.jpg
used thumb url contains: /images/vm/FAB/images/vm/FAB/tMYL-125-A2-001.png

sorry about this.
  1. more than a month ago
  2. RO CSVI
  3. # 17
Accepted Answer Pending Moderation
Hello,
As you are saying yourself the old version of VirtueMart may not be forcing to have resize folder but that is not the case with latest or newer versions. You can try saving an image manually from VirtueMart products page. By default VirtueMart stores thumbnail images in resize folder.
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. # 18
Accepted Answer Pending Moderation
Previous versions didn't force us to use the 'resized' folder. The thumbnail location was relative to the main image location, so if the "Location product files" config was set to "images/vm/"
and the main image field contained:
"FAB/MYL-125-A4-001.jpg"
and the thumbnail field contained:
"tMYL-125-A4-001.png"
They'd be found at:
images/vm/FAB/MYL-125-A4-001.jpg
and
images/vm/FAB/tMYL-125-A4-001.png

If we can still achieve what we need with full paths I'll give that a try but it's not how we ever used older versions of the software.

Thanks.
  1. more than a month ago
  2. RO CSVI
  3. # 19
Accepted Answer Pending Moderation
Hello,
VirtueMart always stored the thumbnail images in resize folder and so your thumbnail image path has been saved with resize folder. If you don't want to have resize folder in the image path then you need to have full path for your thumbnail image as images/vm/FAB/t125MIC.png in file_url_thumb field.
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. # 20
  • Page :
  • 1
  • 2


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