Post by hardy5215 » Fri May 11, 2018 6:03 am

Hey Everyone!!

Need some help with my website.
Route: ... t/checkout

Customer adds any product to their cart and then tries to checkout
Checkouts are working fine. Customers can check out and rest all is working the way it is supposed to be working.
Only problem is that on the Step 6: Confirm Order, customers cannot see the Product Name, Model and the Quantity added.
They can only see Subtotal, Shipping Method and Total.

What I would like them to see?

Under Step 6: Confirm Order, All the products, Model and Quantity they have added.

More Info:

This is a regular installation. No custom theme.
Opencart Version

What I have tried so far?

Installing all the modules fresh.
Matched checkout.tpl and confirm.tpl

I inspected the code and found out that between <tbody> and </tbody> i cannot see any content. See img2.PNG

I guess I am missing code below in there

<?php foreach ($products as $product) { ?>
<td class="text-left"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
<?php foreach ($product['option'] as $option) { ?>
<br />
&nbsp;<small> - <?php echo $option['name']; ?>: <?php echo $option['value']; ?></small>
<?php } ?>
<?php if($product['recurring']) { ?>
<br />
<span class="label label-info"><?php echo $text_recurring_item; ?></span> <small><?php echo $product['recurring']; ?></small>
<?php } ?></td>
<td class="text-left"><?php echo $product['model']; ?></td>
<td class="text-right"><?php echo $product['quantity']; ?></td>
<td class="text-right"><?php echo $product['price']; ?></td>
<td class="text-right"><?php echo $product['total']; ?></td>
<?php } ?>
<?php foreach ($vouchers as $voucher) { ?>
<td class="text-left"><?php echo $voucher['description']; ?></td>
<td class="text-left"></td>
<td class="text-right">1</td>
<td class="text-right"><?php echo $voucher['amount']; ?></td>
<td class="text-right"><?php echo $voucher['amount']; ?></td>
<?php } ?>

However, I cannot figure out where I am missing this code. I have checked

catalog/view/theme/default/template/common/cart.tpl - It is there
catalog/view/theme/default/template/checkout/confirm.tpl - It is there
catalog/view/theme/default/template/checkout/cart.tpl - It is there

I have even copied and pasted the codes from the new installation version of

Any ideas?



img2.PNG - img2.PNG (62.46 KiB) Viewed 392 times



Mon Dec 29, 2014 6:17 pm

Post by xxvirusxx » Fri May 11, 2018 3:42 pm

Try to fix you mixed content. HTTP over HTTPS.

My Extensions | OC,, with bugs fixed | Custom version

Active Member


Tue Jul 17, 2012 10:35 pm

Post by hardy5215 » Tue Jun 12, 2018 5:02 am

Thank you.
Not really sure what I did there but it is fixed now.



Mon Dec 29, 2014 6:17 pm
Who is online

Users browsing this forum: No registered users and 31 guests