Jump to content

[Resolved] View Cart & Checkout page


jka

Recommended Posts

We use the Foundation skin. Any chance we can disable "Customers who bought this also bought..." Right now it has a large font and it displays awkwardly between "Update Cart" & "Secure Checkout" buttons.

How does we disable this feature.

Thanks.

Link to comment
Share on other sites

There is no setting to disable it. The skin template content.checkout.php has {if $RELATED}. You can change that to {if false && $RELATED}.

If you prefer to change the base code, in /classes/catalogue.class.php, near line 1732:

From:
// Related Products from most recent 30 orders containing this product.
if (is_array($product_list) && !empty($product_list) && ($related_orders = $GLOBALS['db']->select('CubeCart_order_inventory', array('DISTINCT' => 'cart_order_id'), array('product_id' => $product_list), array('id' => 'DESC'), 30)) !== false) {

To:
// Related Products from most recent 30 orders containing this product.
if (false && is_array($product_list) && !empty($product_list) && ($related_orders = $GLOBALS['db']->select('CubeCart_order_inventory', array('DISTINCT' => 'cart_order_id'), array('product_id' => $product_list), array('id' => 'DESC'), 30)) !== false) {

The change to the codebase cancels out a bit of database work that is now unnecessary.

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.

×
×
  • Create New...