You have no items in your shopping cart.

Tuesday, October 8, 2024 3:08:49 PM

Change Stock Status values?

Posted: 6 years ago

#6687 Quote

xtsiliv

Posted: 6 years ago

#6687 Quote
Hi,
i have a question about skroutz feed xml
i have set in caption availability the field name Stock Status that way when a product is available or not i have InStock or OutOfStock in my xml

so when i export the xml now it says
<availability>InStock</availability> or
<availability>OutOfStock</availability>

how can i change the words InStock and OutOfStock to my greek language?
so that way says
<availability>Άμεση παραλαβή/Παράδοση 1 έως 3 ημέρες</availability> or
<availability>Εξαντλήθηκε</availability>

this is something that skroutz service ask me to do it and actually they want to do it exactly with these greek words-phrases!

thanks!

Posted: 6 years ago

#6688 Quote

Support

Posted: 6 years ago

#6688 Quote
Plugin has feature. It can change values. Check if your skroutz.xml has ConvertValues block.
Change the NewValue parameter.

  <FeedAttribute>
    <Id>14</Id>
    <FeedCaption>instock</FeedCaption>
    <FeedName>instock</FeedName>
    <FieldNameCode>stockstatus</FieldNameCode>
    <ConvertValues>
      <ConvertValue>
        <Id>1</Id>
        <OldValue>InStock</OldValue>
        <NewValue>Y</NewValue>
      </ConvertValue>
      <ConvertValue>
        <Id>2</Id>
        <OldValue>OutOfStock</OldValue>
        <NewValue>N</NewValue>
      </ConvertValue>
      <ConvertValue>
        <Id>3</Id>
        <OldValue>Preorder</OldValue>
        <NewValue>Y</NewValue>
      </ConvertValue>
    </ConvertValues>
    <Required>false</Required>
    <IgnoreNullOrEmpty>true</IgnoreNullOrEmpty>
    <ActionId>0</ActionId>
  </FeedAttribute>

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved