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			
			- Marcel
- RO CSVI
- Wednesday, 03 July 2019
- Subscribe via email
			
									0
								
				
					
				
			
		
	
						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.
			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
	Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
						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.
			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.
- Page :
- 1
- 2
There are no replies made for this post yet.
Be one of the first to reply to this post!
			Be one of the first to reply to this post!
		Please login to post a reply	
	
		You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.		Register Here »
	
	 
					