professionelle Suchmaschinenoptimierung, SEO - wir können auch backlinks ;) » katalogsysteme http://www.pontipix.de Wed, 14 Nov 2012 18:28:34 +0000 de-DE hourly 1 http://wordpress.org/?v=3.4.2 Nutzung des Plugins “woocommerce” als Katalogsystem für bspw. Affiliateprojekte http://www.pontipix.de/2012/09/09/nutzung-des-plugins-woocommerce-als-katalogsystem-fur-bspw-affiliateprojekte/ http://www.pontipix.de/2012/09/09/nutzung-des-plugins-woocommerce-als-katalogsystem-fur-bspw-affiliateprojekte/#comments Sun, 09 Sep 2012 12:00:53 +0000 Johannes http://www.pontipix.de/?p=1147 Für alle Suchenden:

Die Entfernung sämtlicher Add-to-Card-Buttons funktioniert wiefolgt:

1. woocommerce auf WordPress installieren

2. Entfernen des Warenkorbes in der Kategorieansicht

- öffnen von \woocommerce\templates\loop\add-to-cart

- entferne: ” printf(‘<a href=”%s” rel=”nofollow” data-product_id=”%s”>%s</a>’, $link, $product->id, $product->product_type, $label);”

3. Entfernen des Warenkorbes und der zu bestellenden Menge aus der Produktansicht

- öffnen von \woocommerce\templates\single-product\add-to-cart\simple

- entferne: ”

<?php
if ( ! $product->is_sold_individually() )
woocommerce_quantity_input( array( ‘min_value’ => 1, ‘max_value’ => $product->backorders_allowed() ? ” : $product->get_stock_quantity() ) );
?>

<button type=”submit” class=”single_add_to_cart_button button alt”><?php echo apply_filters(‘single_add_to_cart_text’, __(‘Add to cart’, ‘woocommerce’), $product->product_type); ?></button>”

Downloads

simple.txt (in “simple” umbenennen und in \woocommerce\templates\single-product\add-to-cart\ überspielen)

add-to-cart.txt (in “add-to-cart” umbenennen und in \woocommerce\templates\single-product\add-to-cart\ überspielen)

Die Unterbringung von Affiliatelinks oder Weiterleitungslinks zu externen Shops ist hier noch nicht ausgearbeitet – ich werde mich in einem späteren Post hierzu äußern.

 

]]>
http://www.pontipix.de/2012/09/09/nutzung-des-plugins-woocommerce-als-katalogsystem-fur-bspw-affiliateprojekte/feed/ 0