Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Has anyone got the Minimum Order Amount working for the SPPC mod yet?

 

I've installed the Minimum Order mod fine but can't assign it to only one group. I'm not a programmer but have added the below based on a few posts I've read. It unfortunately doesn't seem to work.

 

checkout_confirmation.php, checkout_payment.php, checkout_shipping.php & checkout_process.php.

// check order total minimum retail
if ($order->info['subtotal'] < 200 && $customer_group_id == '2') {
tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'));
}

 

shopping_cart.php

<?php
// minimum order total
if ($cart->show_total() < 200 && $customer_group_id == '2') {
?>

 

I'm hoping there is an easy fix or hopefully a mod but can't find it?? Any help would be greatly appreciated.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...