Jump to content

Unit Price and Price wrong way around in the basket!


chum63
 Share

Recommended Posts

I switched the terms in element.basket.php and it works properly.

 

Find this section about line 42:

<td class="unit-price">
					{$item.line_price_display}
				</td>
				<td class="quantity">
					<input type="number" name="quan[{$hash}]" value="{$item.quantity}" min="1" {if $item.stock_level}max="{$item.stock_level}"{/if} {$QUAN_READ_ONLY} required class="required" />
				</td>
				<td class="line-price nomobile">
					{$item.price_display}
				</td>

Notice I just swapped where .line_price was in the code.

Link to comment
Share on other sites

The Blueprint thread is on the 3rd party forum. You'll see a link to it in my signature, and I put the link to the Blueprint Tweak thread in the post above. You'll benefit from belonging to both forums, as this one is for the stock skins and core CC product, whereas the 3rd party forum covers mods, commercial skins, and other versions of CC as well.

 

I'll post about this tweak in the 3rd party forum.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...