Jump to content

Product_List | Manche Produkte 0 Euro!


Tolga2601

Recommended Posts

Hey,

 

Ich habe ein bestimmtes Problem, manche Produkte wenn man die Editiert, z.B. Preis ändert, oder eine Reduzierung hinzufügt läd er in der Produkt Liste die Produkte mit einem Preis von 0 Euro.

Wenn man auf das jeweilige Produkt draufgeht sind die Preise ganz normal, Sie werden nur falsch in der Produkt_list angezeigt..

 

jemand eine ahnung worann das liegen könnte?

 

Hier ist der product_list.tpl codeabschnitt für den Preis!

Bitte um Hilfe!!

<div class="right_block">
					{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
					<div class="content_price">
						{if $product.reduction && isset($product.price_without_reduction)}
							{if $priceDisplay >= 0 && $priceDisplay <= 2}
								<span class="old_price_display">{convertPrice price=$product.price_without_reduction}</span>
							{/if}
						{/if}
						
						{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}<span class="price" style="display: inline;">ab {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span><br />{/if}
						{if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if}</span>{/if}
					</div>
					<!--
					{if isset($product.online_only) && $product.online_only}<span class="online_only">{l s='Online only'}</span>{/if}
					{if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}<span class="on_sale">{l s='Sofort Lieferbar'}</span>
					{elseif isset($product.reduction) && $product.reduction && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}<span class="discount">{l s='Reduced price!'}</span>{/if}
					-->
					{if $product.reduction && isset($product.price_without_reduction)}
						<p class="reduction_percent">{math equation="(( x / y ) * 100 )" x={$product.reduction} y={$product.price_without_reduction[spam-filter]% Reduziert!</p>
					{/if}
					{/if}
					<!--
					{if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.minimal_quantity <= 1 && $product.customizable != 2 && !$PS_CATALOG_MODE}
						{if ($product.allow_oosp || $product.quantity > 0)}
							{if isset($static_token)}
								<a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add&id_product={$product.id_product|intval}&token={$static_token}", false)}" title="{l s='Add to cart'}"><span></span>{l s='Add to cart'}</a>
							{else}
								<a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add&id_product={$product.id_product|intval}", false)} title="{l s='Add to cart'}"><span></span>{l s='Add to cart'}</a>
							{/if}						
						{else}
							<span class="exclusive"><span></span>{l s='Add to cart'}</span>
						{/if}
					{/if}
					<br />
					<a class="button lnk_view" href="{$product.link|escape:'htmlall':'UTF-8'}" title="{l s='View'}">{l s='View'}</a>
					-->
				</div>
Edited by Tolga2601 (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Hallo Tolga2601,

Welche Prestashopversion?

Welches Theme?

Ist der Fehler auch beim Default-Theme?

Link zum Shop?

Viele Grüße

 

Hey,

 

Version: 1.5.2

Theme: 01premium

 

Ja der Fehler kommt auch beim Default-Theme..

 

Jedoch ist der Fehlernurnoch bei der Suche,

also in normalen Categorien kommt der nichtmehr, aber sobalt ich ein Produkt suche, kommen die

meisten mit 0 €

 

den Link zum Shop schicke ich dir per PN  @Luca01

Link to comment
Share on other sites

  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...