• Resolved moonrat

    (@moonrat)


    Hello, is there anyway that we can map the categories in the XML file based with our categories and subcategories based on the category ID and not on the category name?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter moonrat

    (@moonrat)

    I cannot even map the categories in the XML file with the categories of my shop

    I use the following code

    <?php
    // Update the array with your mapping rules.
    // The values on the left will be translated
    // to the value on the right.
    //
    // Usage: [my_map_data({category[1]})]

    function my_map_data( $data ) {
    $map = array(
    ‘Software > Antivirus’ => ‘Software > Antivirus’,
    ‘Software > Εφαρμογ??’ => ‘Software > Εφαρμογ??’,
    ‘Software > Λειτουργικ? Συστ?ματα’ => ‘Software > Λειτουργικ? Συστ?ματα’,
    ‘Συνοδευτικ? PC > Ποντ?κια’ => ‘pc-perifereiaka > perifereiaka-pc > pontikia’,

    );

    Plugin Author WP All Import

    (@wpallimport)

    Hi @moonrat,

    Hello, is there anyway that we can map the categories in the XML file based with our categories and subcategories based on the category ID and not on the category name?

    I’m not entirely sure if I understand the question, but you can see our category mapping options in the “Taxonomies, Categories, Tags” section: https://www.wpallimport.com/documentation/taxonomies-overview/#enable-mapping.

    I cannot even map the categories in the XML file with the categories of my shop

    I use the following code

    Our free plugins don’t support inline PHP, and we can only answer questions about our free plugins in this forum. If you have questions about our pro features, please send them here: https://www.wpallimport.com/support/.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Import and map categories based on ID’ is closed to new replies.