<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>WordPress DK Forum Tag: faktura - Recent Topics</title>
		<link>http://wp-danmark.dk/forum/tags/faktura</link>
		<description>WordPress DK Forum Tag: faktura - Recent Topics</description>
		<language>da-DK</language>
		<pubDate>Tue, 29 Sep 2026 00:28:57 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Søg]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://wp-danmark.dk/forum/search.php</link>
		</textInput>
		<atom:link href="http://wp-danmark.dk/forum/rss/tags/faktura/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>Anders92 om "Begynder spørgsmål til WooCommerce"</title>
			<link>http://wp-danmark.dk/forum/topic/begynder-sp%c3%b8rgsmal-til-woocommerce#post-60110</link>
			<pubDate>tors, 04 dec 2014 16:43:12 +0000</pubDate>
			<dc:creator>Anders92</dc:creator>
			<guid isPermaLink="false">60110@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Kære WP Danmark,&#60;/p&#62;
&#60;p&#62;Jeg er næsten færdig med en Woocommerce shop og har nu et par spørgsmål som jeg håber at i kan hjælpe med at besvare.&#60;br /&#62;
Det er en helt standard Woocommerce plugin, jeg har ikke tilføjet nogen plugins endnu til Woocommerce.&#60;/p&#62;
&#60;p&#62;1: Hvordan er den bedste måde at indsætte ens Google analytics kode ?&#60;br /&#62;
jeg har en alm WP blog hvor jeg mener at have brugt Yoast google-analytics plugin men vil det virke når nu der er tale om en WooCommerce shop ?&#60;/p&#62;
&#60;p&#62;2: Faktura systemet under mig.&#60;br /&#62;
Jeg har prøvet at lave en prøve ordre. Jeg ser ingen faktura nogen steder i admin ?&#60;br /&#62;
Jeg som &#34;kunde&#34; fik en mail med min ordre og ordre nummer.&#60;br /&#62;
Jeg prøvede at finde ud af i admin hvordan jeg så laver en faktura. Jeg ser Actions oppe i hjøre hjørne. Jeg prøver at sende en faktura men det er bare den samme Ordre som kommer til mig, kunden ?&#60;br /&#62;
I prestashop er der en menu hvor alle ens faktura er , men jeg ser intet af det i Woocommerce ?&#60;/p&#62;
&#60;p&#62;Jeg skal gerne have ordre nummer i nummer orden og faktura i nummer orden. Hvilke plugins vil i anbefale, helst gratis eller billige. print en faktura ville jo også være fint at kunne.&#60;/p&#62;
&#60;p&#62;Jeg vil bruge et regnskabsprogram til at lave faktura i og sende ud til kunderne. Så måske har jeg slet ikke brug for at lave en faktura i Woocommerce men ordren skal jeg kunne printe ud. Og det kan jeg ikke se at man kan nu ? &#60;/p&#62;
&#60;p&#62;Er der nogen begynder erfaringer som i kan komme med som i selv har erfaret ?&#60;/p&#62;
&#60;p&#62;Hvilke plugins som i vil mene man skal have og eller kan anbefalde ?&#60;/p&#62;
&#60;p&#62;Jeg er helt grøn i WooCommerce.&#60;/p&#62;
&#60;p&#62;En step by step guide når jeg for en ordre ?&#60;/p&#62;
&#60;p&#62;På forhånd mange tak.&#60;br /&#62;
Med venlig Hilsen&#60;br /&#62;
Anders
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Hamfrede om "WooCommerce - Email template"</title>
			<link>http://wp-danmark.dk/forum/topic/woocommerce-email-template#post-47031</link>
			<pubDate>lør, 27 apr 2013 17:42:51 +0000</pubDate>
			<dc:creator>Hamfrede</dc:creator>
			<guid isPermaLink="false">47031@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Hej! &#60;/p&#62;
&#60;p&#62;Det er mit første ''Indlæg'' her på siden, så i må undskylde hvis spørgsmålet allerede har været oppe, og vende. &#60;/p&#62;
&#60;p&#62;What so ever, her er mit spørgsmål: Jeg er pt. Igang med en webshop, som er lavet på WooCommerce. Btw. Et skide godt shop-plugin, selvom der er en del, som nok burde gøres noget mere ved. Men her er mit problem: Når kunden bestiller noget, modtager x-personen en bekræftelsesmail, hvilket er fint nok - Den mail/faktura som kunden modtager, er bare sindssygt grim, og virker langt fra proff. Jeg har prøvet at rode med det, men jeg kan kun ændre ting som tekster og ligende. &#60;/p&#62;
&#60;p&#62;- Derfor vil jeg høre jer, om der er nogen herinde der har erfaring med at lave sin helt egen, og unikke mail/faktura? Er der evt. En der har lyst til at hjælpe mig, med at lave min egen? Jeg betaler selvfølgelig gerne den, som har lyst til at hjælpe mig.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jetsetboys om "Woocommerce: Skift shipping_adress med billing_adress når man vil printe invoice"</title>
			<link>http://wp-danmark.dk/forum/topic/woocommerce-skift-shipping_adress-med-billing_adress-nar-man-vil-printe-invoice#post-38921</link>
			<pubDate>lør, 14 jul 2012 15:48:52 +0000</pubDate>
			<dc:creator>jetsetboys</dc:creator>
			<guid isPermaLink="false">38921@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Hej med jer,&#60;/p&#62;
&#60;p&#62;Jeg har netop kastet mig over Woocommerce plugin'et på min egen side (ikke Woothemes). &#60;/p&#62;
&#60;p&#62;Jeg har installeret &#34;tillægs&#34; plugin'et fra Woothemes &#34;Woocommerce Print invoices og delivery notes&#34; som gør det muligt at printe mine faktura'er løbende. Smart!&#60;/p&#62;
&#60;p&#62;Men ..&#60;/p&#62;
&#60;p&#62;Når jeg danner en fatura, så hiver den kundens leveringadresse istedet for den korrekte betalingsadresse etc. Jeg sælger elektroniske varer så mine kunder har ingen forsendelsesadresse.&#60;/p&#62;
&#60;p&#62;Er der nogen der ved hvordan jeg ændre dette, så jeg kan få adresse på mine fakturaer?&#60;/p&#62;
&#60;p&#62;Jeg har fundet frem til filen: woocommerce-delivery-notes-print.php som ligger i 'print tillægsmodulet til woocommerce'.&#60;/p&#62;
&#60;p&#62;Her har jeg ændret alle de steder hvor der står fx. shipping_name til billing_name, men det fungerer ikke. Jeg får følgende fejlmeldning på fakturaen under Adresse:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Fatal error: Call to undefined function wcdn_shipping_company() in /home/www/styrketraeningsprogram.dk/wp-content/plugins/woocommerce-delivery-notes/templates/delivery-notes/print.php on line 31&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Er der nogen der har roddet med dette plugin?&#60;/p&#62;
&#60;p&#62;Her er hele filen, woocommerce-delivery-notes-print.php:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
&#38;lt;?php&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Load Wordpress to use its functions&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !defined( 'ABSPATH' ) ) {&#60;br /&#62;
	require_once '../../../wp-load.php';&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Check the current user capabilities&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if (!current_user_can('manage_woocommerce_orders') &#124;&#124; empty($_GET['order']) &#124;&#124; empty($_GET['name'])) {&#60;br /&#62;
	wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-delivery-notes' ) );&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Load all available data for the Delivery Notes printing page.&#60;br /&#62;
 */&#60;br /&#62;
$id = $_GET['order'];&#60;br /&#62;
$name = $_GET['name'];&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Load the order&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
$wcdn-&#38;gt;print-&#38;gt;load( $id );&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return Delivery Note template url&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_template_url' ) ) {&#60;br /&#62;
	function wcdn_template_url() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;template_url;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return Type of template&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_template_name' ) ) {&#60;br /&#62;
	function wcdn_template_name() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;template_name;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the template title depending on type&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_template_title' ) ) {&#60;br /&#62;
	function wcdn_template_title() {&#60;br /&#62;
		if( wcdn_template_name() == 'invoice' ) {&#60;br /&#62;
			return __( 'Invoice', 'woocommerce-delivery-notes' );&#60;br /&#62;
		} else {&#60;br /&#62;
			return __( 'Delivery Note', 'woocommerce-delivery-notes' );&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return javascript&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_template_javascript' ) ) {&#60;br /&#62;
	function wcdn_template_javascript() {&#60;br /&#62;
		global $wcdn;&#60;/p&#62;
&#60;p&#62;		$js = '&#38;lt;script type=&#34;text/javascript&#34;&#38;gt;&#60;br /&#62;
			function openPrintWindow() {&#60;br /&#62;
		    	window.print();&#60;br /&#62;
		    	return false;&#60;br /&#62;
			}';&#60;/p&#62;
&#60;p&#62;		if( checked( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'open_print_window' ), 'yes', false ) ) {&#60;br /&#62;
			$js .= 'window.onload = openPrintWindow;';&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;		$js .= '&#38;lt;/script&#38;gt;';&#60;/p&#62;
&#60;p&#62;		return $js;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return print button&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_template_print_button' ) ) {&#60;br /&#62;
	function wcdn_template_print_button() {&#60;br /&#62;
		?&#38;gt;&#60;br /&#62;
		&#60;a href=&#34;#print&#34;&#62;&#38;lt;?php _e( 'Print Page', 'woocommerce-delivery-notes' ); ?&#38;gt;&#60;/a&#62;&#60;br /&#62;
		&#38;lt;?php&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return logo id&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_company_logo_id' ) ) {&#60;br /&#62;
	function wcdn_company_logo_id() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_setting( 'company_logo_image_id' );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return logo html&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_company_logo' ) ) {&#60;br /&#62;
	function wcdn_company_logo() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		$attachment_id = $wcdn-&#38;gt;print-&#38;gt;get_setting( 'company_logo_image_id' );&#60;br /&#62;
		if( !empty( $attachment_id ) ) {&#60;br /&#62;
			$attachment_src = wp_get_attachment_image_src( $attachment_id, array( 300, 300 ), false );&#60;br /&#62;
			return '&#38;lt;img src=&#34;' . $attachment_src[0] . '&#34; width=&#34;' . $attachment_src[1] . '&#34; height=&#34;' . $attachment_src[2] . '&#34; /&#38;gt;';&#60;br /&#62;
		}&#60;br /&#62;
		return;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return default title name of Delivery Note&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_company_name' ) ) {&#60;br /&#62;
	function wcdn_company_name() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		$name = trim( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'custom_company_name' ) );&#60;br /&#62;
		if( !empty( $name ) ) {&#60;br /&#62;
			return wpautop( wptexturize( $name ) );&#60;br /&#62;
		} else {&#60;br /&#62;
			return get_bloginfo( 'name' );&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shop/company info if provided&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string company address&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_company_info' ) ) {&#60;br /&#62;
	function wcdn_company_info() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return wpautop( wptexturize( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'company_address' ) ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping name&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping name&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_name' ) ) {&#60;br /&#62;
	function wcdn_shipping_name() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_first_name . ' ' . $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_last_name;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping company&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping company&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_company' ) ) {&#60;br /&#62;
	function wcdn_shipping_company() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_company;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping address 1&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping address&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_address_1' ) ) {&#60;br /&#62;
	function wcdn_shipping_address_1() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_address_1;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping address 2&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping address 2&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_address_2' ) ) {&#60;br /&#62;
	function wcdn_shipping_address_2() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_address_2;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping city&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping city&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_city' ) ) {&#60;br /&#62;
	function wcdn_shipping_city() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_city;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping state&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping state&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_state' ) ) {&#60;br /&#62;
	function wcdn_shipping_state() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_state;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping postcode&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping postcode&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_postcode' ) ) {&#60;br /&#62;
	function wcdn_shipping_postcode() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_postcode;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping country&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping country&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_country' ) ) {&#60;br /&#62;
	function wcdn_shipping_country() {&#60;br /&#62;
		global $wcdn, $woocommerce;&#60;br /&#62;
		$country = $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_country;&#60;br /&#62;
		$full_country = ( isset( $woocommerce-&#38;gt;countries-&#38;gt;countries[$country] ) ) ? $woocommerce-&#38;gt;countries-&#38;gt;countries[$country] : $country;&#60;br /&#62;
		return $full_country;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping notes&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping notes&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_notes' ) ) {&#60;br /&#62;
	function wcdn_shipping_notes() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return wpautop( wptexturize( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;customer_note ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return billing phone&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string billing phone&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_billing_phone' ) ) {&#60;br /&#62;
	function wcdn_billing_phone() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;billing_phone;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return order id&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string order id&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_number' ) ) {&#60;br /&#62;
	function wcdn_order_number() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		$before = trim( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'before_order_number' ) );&#60;br /&#62;
		$after = trim( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'after_order_number' ) );&#60;br /&#62;
		$offset = trim( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'order_number_offset' ) );&#60;/p&#62;
&#60;p&#62;		// get custom order number as provided by the plugin&#60;br /&#62;
		// &#60;a href=&#34;http://wordpress.org/extend/plugins/woocommerce-sequential-order-numbers/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/woocommerce-sequential-order-numbers/&#60;/a&#62;&#60;br /&#62;
		// if custom order number is zero, fall back to ID&#60;br /&#62;
		$order_id = $wcdn-&#38;gt;print-&#38;gt;order_id;&#60;/p&#62;
&#60;p&#62;		if ( !empty( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;order_custom_fields['_order_number'] ) ) {&#60;br /&#62;
			$order_id = $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;order_custom_fields['_order_number'][0];&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;		$number = $before . ( intval( $offset ) + intval( $order_id ) ) . $after;&#60;br /&#62;
		return $number;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order date&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string order date&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_date' ) ) {&#60;br /&#62;
	function wcdn_order_date() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		$order = $wcdn-&#38;gt;print-&#38;gt;get_order();&#60;br /&#62;
		return date_i18n( get_option( 'date_format' ), strtotime( $order-&#38;gt;order_date ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order items&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return strings order items&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_get_order_items' ) ) {&#60;br /&#62;
	function wcdn_get_order_items() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order_items();&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the formatted price&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string items price&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_format_price' ) ) {&#60;br /&#62;
	function wcdn_format_price( $price, $tax_rate = 0 ) {&#60;br /&#62;
		$tax_included = ( $tax_rate &#38;gt; 0 ) ? 0 : 1;&#60;br /&#62;
		return woocommerce_price( ( ( $price / 100 ) * $tax_rate ) + $price, array( 'ex_tax_label' =&#38;gt; $tax_included ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order subtotal&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string order subtotal&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_order_subtotal' ) ) {&#60;br /&#62;
	function wcdn_order_subtotal() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_subtotal_to_display();&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order tax&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string order tax&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_tax' ) ) {&#60;br /&#62;
	function wcdn_order_tax() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return woocommerce_price( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_total_tax() );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order shipping cost&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string order shipping cost&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_shipping' ) ) {&#60;br /&#62;
	function wcdn_order_shipping() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_shipping_to_display();&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order discount&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string order discount&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_discount' ) ) {&#60;br /&#62;
	function wcdn_order_discount() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return woocommerce_price( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_order_discount() );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order grand total&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string grand total&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_total' ) ) {&#60;br /&#62;
	function wcdn_order_total() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return woocommerce_price( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_order_total() );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order totals listing&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return array order totals list&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_totals_list' ) ) {&#60;br /&#62;
	function wcdn_order_totals_list() {&#60;br /&#62;
		global $wcdn;		&#60;/p&#62;
&#60;p&#62;		// remove the semicolon&#60;br /&#62;
		$input = $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_order_item_totals();&#60;br /&#62;
		$keys = array_keys($input);&#60;br /&#62;
		$values = array_values($input);&#60;br /&#62;
		$result = preg_replace('/:$/', '', $keys);&#60;br /&#62;
		$output = array_combine($result, $values);&#60;br /&#62;
		return $output;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return if the order has a shipping&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return boolean&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_has_shipping' ) ) {&#60;br /&#62;
	function wcdn_has_shipping() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return ( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;order_shipping &#38;gt; 0 ) ? true : false;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return if the order has a tax&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return boolean&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_has_tax' ) ) {&#60;br /&#62;
	function wcdn_has_tax() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return ( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_total_tax() &#38;gt; 0 ) ? true : false;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return if the order has a discount&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return boolean&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_has_discount' ) ) {&#60;br /&#62;
	function wcdn_has_discount() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return ( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;order_discount &#38;gt; 0 ) ? true : false;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return personal notes, season greetings etc.&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string personal notes&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_personal_notes' ) ) {&#60;br /&#62;
	function wcdn_personal_notes() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return wpautop( wptexturize( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'personal_notes' ) ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return policy for returns&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string policy&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_policies_conditions' ) ) {&#60;br /&#62;
	function wcdn_policies_conditions() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return wpautop( wptexturize( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'policies_conditions' ) ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shop/company footer imprint, copyright etc.&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string footer imprint&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_footer_imprint' ) ) {&#60;br /&#62;
	function wcdn_footer_imprint() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return wpautop( wptexturize( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'footer_imprint' ) ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Show the template&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string footer imprint&#60;br /&#62;
 */&#60;br /&#62;
echo $wcdn-&#38;gt;print-&#38;gt;get_print_page( $name );&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>peteandersen om "Hvordan laver man Faktura til E-commerce plugin?"</title>
			<link>http://wp-danmark.dk/forum/topic/hvordan-laver-man-faktura-til-e-commerce-plugin#post-17672</link>
			<pubDate>ons, 30 jun 2010 12:59:36 +0000</pubDate>
			<dc:creator>peteandersen</dc:creator>
			<guid isPermaLink="false">17672@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Vi bruger E-commerce plugin til WP og det virker ok, men hvordan kan man lave en rigtig faktura som overholder de danske regler for noget sådant?&#60;/p&#62;
&#60;p&#62;Hvad gør I andre der bruger det plugin?
&#60;/p&#62;

	&#60;p id=&#34;twitter_update_list&#34;&#62;
	&#60;script type=&#34;text/javascript&#34; src=&#34;http://twitter.com/javascripts/blogger.js&#34;&#62;&#60;/script&#62;
	&#60;script type=&#34;text/javascript&#34; src=&#34;http://twitter.com/statuses/user_timeline/.json?callback=twitterCallback2&#38;count=1&#34;&#62;&#60;/script&#62;&#60;/code&#62;&#60;/small&#62;&#60;/p&#62;&#60;br/&#62;</description>
		</item>

	</channel>
</rss>
