1. Marcel
  2. RO CSVI
  3. Wednesday, 03 July 2019
  4.  Subscribe via email
Hi Tharuna
when we import a new XML file with the template you created for us, everything works fine. The products in the file are imported in the category as defined in the Importfile. We changed the sort-order of the products in VM so we can determine which suit is shown first in the category view. After the new import that custom order stays the same. The setting we use for append categories is "yes" so it's does not need to set the category again but only add new ones. We did some changes in the import file because sometimes we want to add multiple categories or change the category of a product. To make that possible, we needed to change the setting append categories to "no", that means the category is set again during import, even if the category stays the same. Is there a way to keep the same sort order setting after a new import where we set append categories to "no"?

Thanks, kind regards, Marcel
Accepted Answer Pending Moderation
Hello Marcel,
You can load the attached patch file to get multiple values separated by | for product_ordering field in export.
Attachments (1)
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
New Reply Added

tharuna replied to the discussion Product ordering after new import














Hello,


This is a notification to let you know that tharuna has replied to the discussion on the site. You may find the snippet of the reply below:








Hello Marcel,

You can load the attached patch file to get multiple values separated by | for product_ordering field in export.




Attachments:







patch_vm_2019_08_09.zip






ed.require(['edq', 'easydiscuss', 'jquery.fancybox'], function($, EasyDiscuss) {

// Bind the delete attachment buttons
var attachmentWrapper = $('[data-ed-attachment-item]');

$(document)
.on('click', '[data-ed-attachment-delete]', function() {

var id = $(this).parents(attachmentWrapper.selector).data('id');
var parent = $(this).parents(attachmentWrapper.selector);

EasyDiscuss.dialog({
content: EasyDiscuss.ajax('site/views/attachments/confirmDelete', { "id": id }),
bindings: {
"{submitButton} click": function() {

// Remove the attachment
parent.remove();

// When the delete button is clicked, call the ajax method to remove the attachment
EasyDiscuss.ajax('site/views/attachments/delete', {
"id": id
}).done(function() {

// Hide the dialog
EasyDiscuss.dialog().close();
});
}
}
})
});

// Apply fancybox
var attachmentPreview = $('[data-ed-attachment-preview]');

attachmentPreview.fancybox({
type: 'image',
wrapCSS: 'fancy--ed-image',

helpers: {
overlay: null
}
});

});













Read this discussion
















This email was sent to you, because you have subscribed to the discussion.

To unsubscribe, please click here. Manage subscriptions.
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
  1. more than a month ago
  2. RO CSVI
  3. # 7
  • Page :
  • 1
  • 2


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