PrestaShop Forums: XML-eksport (export) af varer - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


XML-eksport (export) af varer


XML-eksport (export) af varer

#1 Guest_presta-dyr_*

  • --
  • Guests

Posted 15 January 2010 - 10:59 AM

Jeg har oprettet mig hos www.shoppingindex.dk. Til det, skulle jeg bruge en oversigt over mine varer i XML.

Jeg har vedhæftet mit program, så andre også kan få glæde af det. Læg det i roden for din webshop og husk at justere kodeordet i programmet.

2011-02-28: Opdateret. Priser er nu justeret med evt. rabat og har altid 2 decimaler.

/Kjeld

Attached File(s)



#2 Guest__*

  • --
  • Guests

Posted 18 January 2010 - 11:57 AM

Hej Kjeld,

Tak for det :-) jeg skal dog lige høre dig hvordan man bruger det praktisk, skal man tilføje det som modul ? eller hvordan hiver man listen ud af sin shop ..

på forhånd mange tak !

mvh
Peter

#3 Guest__*

  • --
  • Guests

Posted 18 January 2010 - 12:08 PM

Der er et kodeord i programmet. Ret det til noget du kan li'. Kopier derefter programmet til din webshop. Det skal ligge i roden, dvs. der hvor f.eks. header.php ligger.

Hvis man så ønsker et udtræk fra din webshop, bruger man URL'en:

http://www.<webshop>...passwd=<passwd>

/Kjeld

#4 Guest__*

  • --
  • Guests

Posted 18 January 2010 - 12:24 PM

Tak Kjeld... Nu virker det!!

Og endnu en gang tak fordi du deler disse ting med os.. de bliver værdsat!

mvh
Peter

#5 Guest__*

  • --
  • Guests

Posted 25 February 2010 - 12:53 PM

It works but the URL is not rewritten, uses /product.php?id_product=847 not SEO friendly ruls. Any way to fix this?

#6 Guest__*

  • --
  • Guests

Posted 26 February 2010 - 07:34 PM

Her er en opdateret version med link_rewrite.

/Kjeld

Attached File(s)



#7 Guest__*

  • --
  • Guests

Posted 26 February 2010 - 09:00 PM

Thank you, that works!

Now another question: there are only subcategories in the XML file, how to get (main) categories to work?

#8 Guest__*

  • --
  • Guests

Posted 01 March 2010 - 10:34 PM

Ja, der var et problem med repræsentationen af sub-sub-categorier. Her er en bedre løsning.

/Kjeld

Attached File(s)



#9 Guest__*

  • --
  • Guests

Posted 02 March 2010 - 07:22 AM

Jeg får den her besked når jeg prøver:

Denne XML-fil har ingen stilinformation tilknyttet. Dokumenttræet vises herunder.




#10 Guest__*

  • --
  • Guests

Posted 02 March 2010 - 07:33 AM

Der skulle gerne stå:

<products> </products>

Output er XML. Du skal skrive det rigtige password for at varerne bliver eksporteret.

/Kjeld

#11 Guest__*

  • --
  • Guests

Posted 02 March 2010 - 07:39 AM

Yep, nu virker det, perfekt :).

Hvad så når man har teksten der? Gemmer man den bare i notepad og saver som .xml fil?

#12 Guest__*

  • --
  • Guests

Posted 02 March 2010 - 08:06 AM

Ja, eller du sender bare linken til hvem der nu skal bruge den.

I Firefox hedder det "Save Page As".

/Kjeld

#13 Guest__*

  • --
  • Guests

Posted 03 March 2010 - 09:34 AM

Fantastisk og simpelt ...Tusind tak for det..!!

Er nu også i gang med at få www.piercingpusher.dk på www.shoppingindex.dk

mvh.
Piercingpusheren

#14 Guest__*

  • --
  • Guests

Posted 16 March 2010 - 02:48 PM

Vil man kunne bruge den som en slags RSS feed også?

#15 Guest__*

  • --
  • Guests

Posted 12 April 2010 - 09:41 PM

Sorry for my bad english, i'm FRENCH!!!!

It's a very good module and product,

But is it possible to had at the price , the discount price????

I need two price on my xml extraction : normal price and discount price!!

thank

Regard's Laurent

#16 Guest__*

  • --
  • Guests

Posted 21 April 2010 - 09:50 AM

The discount price is not easily available (i.e. may be heavy performance wise). You can see how it's done in product.php in getPriceStatic().

/Kjeld

#17 Guest__*

  • --
  • Guests

Posted 16 May 2010 - 01:51 AM

how can i use it?
really i need it.
Can you explain ?

#18 Guest__*

  • --
  • Guests

Posted 16 May 2010 - 05:21 AM

Change the password in the script and put it in the root of your shop.

When you need an XML summary of your shop, you simply access the URL:

http://<domain>/xmlexport.php?passwd=<passwd>

/Kjeld

#19 Guest__*

  • --
  • Guests

Posted 16 May 2010 - 10:52 AM

I am grateful thanks a lot :))

Can i change currency and products url?
Products url must be friendly
USD to Euro ?

#20 Guest__*

  • --
  • Guests

Posted 10 July 2010 - 07:06 PM

We have a shopping comparison site here in Estonia which lists discounted products only and it's free as well.

Is there any easy way to have an extra sitemap for products on sale only?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users