Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Prices for Logged-In Users Only - osC 2.2ms2


imac

Recommended Posts

I tried installing "Prices for Logged-In Users Only" on osC 2.2ms2 but it crashed.

 

http://www.oscommerce.com/community/contri...ons,601/page,28

 

I've re-written the code to run with 2.2ms2. It works fine except for one small detail which doesn't affect the core functionality but would be nice to sort. I'm still a relative newbie so this is probably obvious to anyone more familiar with tep functions:

 

In /catalog/products_new.php, how do I include cart_quantity in the following:

 

echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . $submit_button . '</a>';

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.
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...