Add couple tags to xml order export in module "xml feeds" (Polska) Prestashop 1.7.6.7

Suoritettu Julkaistu 3 vuotta sitten Maksettu toimituksen yhteydessä
Suoritettu Maksettu toimituksen yhteydessä

Hi there.

I need to add some tags to xml output file generated by module XML FEEDS bought from addons.prestashop.com.

Fo example it looks like this:

<Orders>

<Order>

<order_data_1>text</order_data_1>

</Order>

</Orders>

BUT i want it to look like this:

<Data>

<String>3753957957357</String>

<Orders>

<Order>

<order_data_1>text</order_data_1>

</Order>

</Orders>

</Data>

Second thing:

Short intro:

There are products in the store with attributes, e.g. ham is divided into 0.5 kg and 1 kg. For example, if someone buys 1 pc. 1 kg of ham, the price is different and for 0.5 kg of ham.

Now in the xml file we display the quantities of purchased products, but without the attributes.

Products with attributes always have the weight entered in the admin panel, the point is that if the order includes 1 pc. hams 0.5 kg, the tag for the quantity has to be displayed 0.5, not 1 pc.

And if someone chooses 2 pcs. 0.5 kg, then in the tag about the quantity we have to multiply. 0.5 + 0.5 = 1kg

For products with no attributes it is unchanged.

The warehouse program which accepts the XML file can only see the quantity, cannot see the attributes, so a small workaround for the attributes is needed.

Prestashop PHP XML MySQL Tietojärjestelmäarkkitehtuuri

Projektin tunnus: #29161678

Tietoa projektista

2 ehdotusta Etäprojekti Aktiivinen 3 vuotta sitten

Myönnetty käyttäjälle:

gopal1995

I am senior Prestashop developer and having more than 8 years of experience.I have developed a wide range of websites using HMTL, DHTML, PHP, Prestashop, Wordpress.I am working only on prestashop around last 8 years

$50 USD 2 päivässä
(90 Arvostelua)
7.1