Hello
I see on the front end customer order history the total number of products for each order placed is not really the total number of products ordered but in fact the total number of different products ordered.
I would surely prefer it to show the in fact total number of products ordered
Has anyone wrote a line of code to swap / correct this ?
kindly thks
I see on the front end customer order history the total number of products for each order placed is not really the total number of products ordered but in fact the total number of different products ordered.
I would surely prefer it to show the in fact total number of products ordered
Has anyone wrote a line of code to swap / correct this ?
kindly thks
it is the total product lines, what you are after is the total sum of the quantities of all those products
Precisely Simon
At least for me that one does make some sense, why anyone would care to know how many product lines are in the order ?
I´d rather have nothing
Of course I can take it out, that I can do myself, but I have no knowledge of php to go and get those variables
Maybe if someone cares to take a look into this it would probably be of value to all
At least for me that one does make some sense, why anyone would care to know how many product lines are in the order ?
I´d rather have nothing
Of course I can take it out, that I can do myself, but I have no knowledge of php to go and get those variables
Maybe if someone cares to take a look into this it would probably be of value to all
It makes sense for me
Scenario:
Shop sells small widgets - you need a lot of these widgets sometimes, but other times only a few
Customer purchases:
5000 x widget(a)
50 x widget(b)
1 x widget(c)
1117 x widget(d)
Currently order history displays 4 products purchased
To me this makes more sense than showing:
6168 products purchased
---
if you would like to remove that line, then:
edit catalog/view/theme/default/template/account/order_list.tpl
find:
replace with:
Scenario:
Shop sells small widgets - you need a lot of these widgets sometimes, but other times only a few
Customer purchases:
5000 x widget(a)
50 x widget(b)
1 x widget(c)
1117 x widget(d)
Currently order history displays 4 products purchased
To me this makes more sense than showing:
6168 products purchased
---
if you would like to remove that line, then:
edit catalog/view/theme/default/template/account/order_list.tpl
find:
Code: Select all
<div><b><?php echo $text_date_added; ?></b> <?php echo $order['date_added']; ?><br />
<b><?php echo $text_products; ?></b> <?php echo $order['products']; ?></div>
Code: Select all
<div><b><?php echo $text_date_added; ?></b> <?php echo $order['date_added']; ?></div>
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 18 guests