Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6693187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:57:14+00:00 2026-05-26T05:57:14+00:00

I cant find any documentation on this, I dont even know if its possible.

  • 0

I cant find any documentation on this, I dont even know if its possible.
I need to export some products, I already have the profile, because this export is for a competitive site like nextag.com or pricegrabber.com we want to export only a few products and not the 3000 we have.

I could create a boolean attribute called Export.

The problem is how can I put in the profile to export only products that export is set to yes?

This is the code that it generates:

<action type="catalog/convert_adapter_product" method="load">
    <var name="store"><![CDATA[5]]></var>
    <var name="filter/type"><![CDATA[simple]]></var>
    <var name="filter/price/from"><![CDATA[90]]></var>
    <var name="filter/price/to"><![CDATA[6000]]></var>
    <var name="filter/status"><![CDATA[1]]></var>
</action>

<action type="catalog/convert_parser_product" method="unparse">
    <var name="store"><![CDATA[5]]></var>
    <var name="url_field"><![CDATA[1]]></var>
</action>

<action type="dataflow/convert_mapper_column" method="map">
    <var name="map">
        <map name="sku"><![CDATA[MPN/UPC]]></map>
        <map name="brand"><![CDATA[Manufacturer]]></map>
        <map name="name"><![CDATA[Product Name]]></map>
        <map name="product_link"><![CDATA[product_link]]></map>
        <map name="condition"><![CDATA[Product Condition]]></map>
        <map name="price"><![CDATA[Selling Price]]></map>
        <map name="shipping_costs"><![CDATA[Shipping costs]]></map>
        <map name="weight_box1"><![CDATA[Weight]]></map>
    </var>
    <var name="_only_specified">true</var>
</action>

<action type="dataflow/convert_parser_csv" method="unparse">
    <var name="delimiter"><![CDATA[,]]></var>
    <var name="enclose"><![CDATA["]]></var>
    <var name="fieldnames">true</var>
</action>

<action type="dataflow/convert_adapter_io" method="save">
    <var name="type">file</var>
    <var name="path">var/export</var>
    <var name="filename"><![CDATA[nextagfeed.csv]]></var>
</action>

Thank

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:57:14+00:00Added an answer on May 26, 2026 at 5:57 am

    Try adding the export filter to your actions xml

    <var name="filter/export"><![CDATA[1]]></var>
    

    Something like

    <action type="catalog/convert_adapter_product" method="load">
        <var name="store"><![CDATA[5]]></var>
        <var name="filter/type"><![CDATA[simple]]></var>
        <var name="filter/price/from"><![CDATA[90]]></var>
        <var name="filter/price/to"><![CDATA[6000]]></var>
        <var name="filter/status"><![CDATA[1]]></var>
        <var name="filter/export"><![CDATA[1]]></var>
    </action>
    
    <action type="catalog/convert_parser_product" method="unparse">
        <var name="store"><![CDATA[5]]></var>
        <var name="url_field"><![CDATA[1]]></var>
    </action>
    
    <action type="dataflow/convert_mapper_column" method="map">
        <var name="map">
            <map name="sku"><![CDATA[MPN/UPC]]></map>
            <map name="brand"><![CDATA[Manufacturer]]></map>
            <map name="name"><![CDATA[Product Name]]></map>
            <map name="product_link"><![CDATA[product_link]]></map>
            <map name="condition"><![CDATA[Product Condition]]></map>
            <map name="price"><![CDATA[Selling Price]]></map>
            <map name="shipping_costs"><![CDATA[Shipping costs]]></map>
            <map name="weight_box1"><![CDATA[Weight]]></map>
        </var>
        <var name="_only_specified">true</var>
    </action>
    
    <action type="dataflow/convert_parser_csv" method="unparse">
        <var name="delimiter"><![CDATA[,]]></var>
        <var name="enclose"><![CDATA["]]></var>
        <var name="fieldnames">true</var>
    </action>
    
    <action type="dataflow/convert_adapter_io" method="save">
        <var name="type">file</var>
        <var name="path">var/export</var>
        <var name="filename"><![CDATA[nextagfeed.csv]]></var>
    </action>
    

    That is telling magento to filter the product collection by price status and the export attribute, because export is boolean you need set the corresponding boolean value in this case 1 for true.

    Now if this doesn’t work maybe it would be easier adding your product Parser and using advanced imports. Let me know how it goes.

    Ok, now we know that definitively doesn’t work but lets look why it doesn’t work. The reason is we are missing that filter on our adapter open

    app/core/Mage/Catalog/Model/Convert/Adapter/Product.php
    

    look for the load function around line 99:

    public function load()
    {
        $attrFilterArray = array();
        $attrFilterArray ['name']           = 'like';
        $attrFilterArray ['sku']            = 'startsWith';
        $attrFilterArray ['type']           = 'eq';
        $attrFilterArray ['attribute_set']  = 'eq';
        $attrFilterArray ['visibility']     = 'eq';
        $attrFilterArray ['status']         = 'eq';
        $attrFilterArray ['price']          = 'fromTo';
        $attrFilterArray ['qty']            = 'fromTo';
        $attrFilterArray ['store_id']       = 'eq';
    
        $attrToDb = array(
            'type'          => 'type_id',
            'attribute_set' => 'attribute_set_id'
        );
    

    And just below store id add your new filter

     $attrFilterArray ['is_imported']     = 'eq';
    

    Cheers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry, I know this is programming 101, but I can't find any good documentation...
This is probably batch scripting 101, but I can't find any clear explanation/documentation on
I cant seem to find any documentation on using AMQP transactions through the Kombu
i can't find any basic documentation on this sdk (am i just being stupid
I can't find any documentation on implementing a class that inherits System.Windows.Media.Brush - what
I am using Enterprise Library 4.0 and I can't find any documentation on creating
It appears so, but I can't find any definitive documentation on the subject. What
I can't seem to find any documentation on the Objective-J language itself. Does it
I can't seem to find any useful documentation from Microsoft about how one would
I'm new to Java, and while reading documentation so far I can't find any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.