Jump to content

[gelöst] Bei Artikel mit Benutzereranpassung doppelte Artikel auf der Betsätigung


Recommended Posts

Ich glaube ich würde versuchen per CSS nur die zweite Beschreibung aus zu blenden.

Ist aber schwierig nachzuvollziehen.

Du könntest einen Link zum Produkt posten damit man den in den Warenkorb packen kann und testen kann.

So aus dem Stehgreif kann da glaub ich niemand helfen der es nicht schon selbst machen musste.

Also soweit entweder per CSS oder in der cart.tpl die Beschreibung raus schmeissen bzw gucken was genau er da macht, wie man es sich umbauen könnte.

Link to comment
Share on other sites

Da wird es sicherlich eine if abfrage geben ob Benutzeranpassung oder nicht. Und die wird man abändern müssen das er die nur anhängt und nicht den kompletten Artikel dupliziert. Ist vielleicht auch garnicht so gewollt sondern ein Fehler im Code. Gucke ich mir mal morgen an, vielleicht ja jemand anderes eher.

Link to comment
Share on other sites

Hallo,

 

ich glaube unsere Zeilen stimmen nicht überein. Hier mein File - was muss ich löschen?

 

{foreach $list as $product}
<tr>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td>
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$product['reference']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td>
<font size="2" face="Open-sans, sans-serif" color="#555454">
<strong>{$product['name']}</strong>
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$product['unit_price']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$product['quantity']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$product['price']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
</tr>
{foreach $product['customization'] as $customization}
<tr>
<td colspan="2" style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td>
<font size="2" face="Open-sans, sans-serif" color="#555454">
<strong>{$product['name']}</strong><br>
{$customization['customization_text']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$product['unit_price']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$customization['customization_quantity']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$customization['quantity']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
</tr>
{/foreach}
{/foreach}
 
LG Stefan
Link to comment
Share on other sites

 

Hallo,

 

ich glaube unsere Zeilen stimmen nicht überein. Hier mein File - was muss ich löschen?

 

{foreach $list as $product}
<tr>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td>
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$product['reference']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td>
<font size="2" face="Open-sans, sans-serif" color="#555454">
<strong>{$product['name']}</strong>
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$product['unit_price']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$product['quantity']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$product['price']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
</tr>
{foreach $product['customization'] as $customization}
<tr>
<td colspan="2" style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td>
<font size="2" face="Open-sans, sans-serif" color="#555454">
<strong>{$product['name']}</strong><br>
{$customization['customization_text']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$product['unit_price']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$customization['customization_quantity']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10"> </td>
<td align="right">
<font size="2" face="Open-sans, sans-serif" color="#555454">
{$customization['quantity']}
</font>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
</tr>
{/foreach}
{/foreach}
 
LG Stefan

 

Link to comment
Share on other sites

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...