Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Discount Groups 1.1


ChrisHoward

Recommended Posts

>_< After 1 week of messing around with this contrib! I thought I was done!!

 

Well there is one more problem,

 

https://secure.ohmhealthcare.com/index.php/cPath/23

 

This page and all other product_listing.php pages seem to not show the price, however product_info.php pages allow the price to be shown!

 

Any ideas? :)

Link to comment
Share on other sites

:(

 

Anything to do with this coding from product_listing.php

 

case 'PRODUCT_LIST_PRICE':
           $lc_align = 'right';
	 $price = $listing_values['specials_new_products_price'];
	 if ($discount > 0) $price = $price - ($price/100)*$discount;
         if ($listing_values['specials_new_products_price']) {
               $price = $listing_values['specials_new_products_price'];
               if ($discount > 0) $price = $price - ($price/100)*$discount;
             $lc_text = ' <s>' .  $currencies->display_price($listing_values['products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</s> <br/><span class="productSpecialPrice">' . $currencies->display_price($price, tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</span> ';
           } else {
               $price = $listing_values['products_price'];
               if ($discount > 0) $price = $price - ($price/100)*$discount;
               $lc_text = ' ' . $currencies->display_price($price, tep_get_tax_rate($listing_values['products_tax_class_id'])) . ' ';
           }
           break;

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