Jump to content
hozone

[contribution] Total B2B

Recommended Posts

Hi

 

I use Total B2B

I would like to show het price in the shopping cart without tax.

 

Never mind, problem solved

Share this post


Link to post
Share on other sites
I have installed Total B2B 1.2a and on a whole the module is great. But I have a couple of questions.

 

1) I have changed the Number of Prices per Product to four. When I go into the Catalogue and edit a product, I can select four pricing levels but if I enter the same Net amount into each of the four pricing levels, the same Gross amount appears in each four. Is this right or should the four pricing levels automatically reflect the pricing levels from the groups? Have I misunderstood how the pricing levels should be set within each product?

 

2) Has anyone used Easy Populate module with Total B2B installed and successfully exported a complete list that includes different pricing levels? If so, how did you do it?

 

Regards

Robyn

 

1) is right

2) me, but i made a mistake and delete the easypopulate modificated contrib :) so the only things i can tell u, is that in 5 hours i suppose, u can do the modificate dontrib ;)


osCommerce Italia support: http://www.oscommerceitalia.com

Share this post


Link to post
Share on other sites

Hi Guys,

 

Thanks for this wonderful contribution! Have been using it for quite awhile and its fabulous! :)

 

However, I have a little problem. Just installed OScAffiliate and I'm getting

 

 

Warning: Missing argument 3 for display_price() in /home/estrella/public_html/includes/classes/currencies.php on line 72

 

errors all over my affiliates pages that requires displaying of price. I understand that the functions required 3 arguments, and the first must be the ID, but in this case, I've no idea how to call the products ID. can anyone help please?

 

below is the code where i need to edit.

 

<tr>

                  <td width="35%" align="right" class="boxtext"><?php echo TEXT_AMOUNT; ?><?php echo '<a href="java script:popupWindow(\'' . tep_href_link(FILENAME_AFFILIATE_HELP_5) . '\')">' . TEXT_SUMMARY_HELP . '</a>'; ?></td>

                  <td width="15%" class="boxtext"><?php echo $currencies->display_price($affiliate_amount, ''); ?></td>

                  <td width="35%" align="right" class="boxtext"><?php echo TEXT_AVERAGE; ?><?php echo '<a href="java script:popupWindow(\'' . tep_href_link(FILENAME_AFFILIATE_HELP_6) . '\')">' . TEXT_SUMMARY_HELP . '</a>'; ?></td>

                  <td width="15%" class="boxtext"><?php echo $currencies->display_price($affiliate_average, ''); ?></td>

                </tr>

                <tr>

                  <td align="right" class="boxtext"><?php echo TEXT_CLICKTHROUGH_RATE; ?><?php echo '<a href="java script:popupWindow(\'' . tep_href_link(FILENAME_AFFILIATE_HELP_17) . '\')">' . TEXT_SUMMARY_HELP . '</a>'; ?></td>

                  <td class="boxtext"><?php echo  $currencies->display_price(AFFILIATE_PAY_PER_CLICK, ''); ?></td>

                  <td align="right" class="boxtext"><?php echo TEXT_PAYPERSALE_RATE; ?><?php echo '<a href="java script:popupWindow(\'' . tep_href_link(FILENAME_AFFILIATE_HELP_18) . '\')">' . TEXT_SUMMARY_HELP . '</a>'; ?></td>

                  <td class="boxtext"><?php echo  $currencies->display_price(AFFILIATE_PAYMENT, ''); ?></td>

                </tr>

                <tr>

                  <td width="35%" align="right" class="boxtext"><?php echo TEXT_COMMISSION_RATE; ?><?php echo '<a href="java script:popupWindow(\'' . tep_href_link(FILENAME_AFFILIATE_HELP_7) . '\')">' . TEXT_SUMMARY_HELP . '</a>'; ?></td>

                  <td width="15%" class="boxtext"><?php echo tep_round($affiliate_percent, 2). '%'; ?></td>

                  <td width="35%" align="right" class="boxtext"><?php echo TEXT_COMMISSION; ?><?php echo '<a href="java script:popupWindow(\'' . tep_href_link(FILENAME_AFFILIATE_HELP_8) . '\')">' . TEXT_SUMMARY_HELP . '</a>'; ?></td>

                  <td width="15%" class="boxtext"><?php echo $currencies->display_price($affiliate_commission, ''); ?></td>

                </tr>

 

helps of all kinds are appreciated! thanks~ :)

Edited by estrellashopping

You live, you learn. :)

Share this post


Link to post
Share on other sites

We have B2B installed, and it's working perfectly. We are just trying to clean up the customer interface.

 

Is there a way on product_info.php to have it display both the MSRP price and the discounted price, and possibly the percent off? I imagine it wouldn't be that hard, but i'm a complete noob. Thanks.

Edited by wonderboy

Share this post


Link to post
Share on other sites

@ estrellashopping

 

i don't know oscaffiate :( so i can't help u

 

@ wonderboy

 

try this function for classes/currencies.php i hope it's then things u need:

//TotalB2B start
   function display_price($products_id, $products_price, $products_tax, $quantity = 1) {
     global $customer_id;
  $products_price_ori = $products_price;
     $query_price_to_guest = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'ALLOW_GUEST_TO_SEE_PRICES'");
     $query_price_to_guest_result = tep_db_fetch_array($query_price_to_guest);      
     if (($query_price_to_guest_result['configuration_value']=='true') && !(tep_session_is_registered('customer_id'))) {
  $query_guest_discount = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'GUEST_DISCOUNT'");
  $query_guest_discount_result = tep_db_fetch_array($query_guest_discount);
        $customer_discount = $query_guest_discount_result['configuration_value'];
     if ($customer_discount >= 0) {
     $products_price = $products_price + $products_price * abs($customer_discount) / 100;
     } else {
     $products_price = $products_price - $products_price * abs($customer_discount) / 100;
     }
  if ((abs($customer_discount) != 0) && (tep_get_products_special_price($products_id) == "")) {
    return "<s>" . $this->format(tep_add_tax($products_price_ori, $products_tax) * $quantity) . "</s> " . $this->format(tep_add_tax($products_price, $products_tax) * $quantity);
  } else {
    return $this->format(tep_add_tax($products_price, $products_tax) * $quantity);
  }
  } elseif (tep_session_is_registered('customer_id')) {
  $query_A = tep_db_query("select m.manudiscount_discount from " . TABLE_MANUDISCOUNT .  " m, " . TABLE_PRODUCTS . " p where m.manudiscount_groups_id = 0 and m.manudiscount_customers_id = '" . $customer_id . "' and p.products_id = '" . $products_id . "' and p.manufacturers_id = m.manudiscount_manufacturers_id");
  $query_B = tep_db_query("select m.manudiscount_discount from " . TABLE_CUSTOMERS  . " c, " . TABLE_MANUDISCOUNT .  " m, " . TABLE_PRODUCTS . " p where m.manudiscount_groups_id = c.customers_groups_id  and m.manudiscount_customers_id = 0 and c.customers_id = '" . $customer_id . "' and p.products_id = '" . $products_id . "' and p.manufacturers_id = m.manudiscount_manufacturers_id");
  $query_C = tep_db_query("select m.manudiscount_discount from " . TABLE_MANUDISCOUNT .  " m, " . TABLE_PRODUCTS . " p where m.manudiscount_groups_id = 0 and m.manudiscount_customers_id = 0 and p.products_id = '" . $products_id . "' and p.manufacturers_id = m.manudiscount_manufacturers_id");
  if ($query_result = tep_db_fetch_array($query_A)) {
   $customer_discount = $query_result['manudiscount_discount'];
  } else if ($query_result = tep_db_fetch_array($query_B)) {
   $customer_discount = $query_result['manudiscount_discount'];
  } else if ($query_result = tep_db_fetch_array($query_C)) {
   $customer_discount = $query_result['manudiscount_discount'];
  } else {
   $query = tep_db_query("select g.customers_groups_discount from " . TABLE_CUSTOMERS_GROUPS . " g inner join  " . TABLE_CUSTOMERS  . " c on g.customers_groups_id = c.customers_groups_id and c.customers_id = '" . $customer_id . "'");
   $query_result = tep_db_fetch_array($query);
   $customers_groups_discount = $query_result['customers_groups_discount'];
   $query = tep_db_query("select customers_discount from " . TABLE_CUSTOMERS . " where customers_id =  '" . $customer_id . "'");
   $query_result = tep_db_fetch_array($query);
   $customer_discount = $query_result['customers_discount'];
   $customer_discount = $customer_discount + $customers_groups_discount;
  }
     if ($customer_discount >= 0) {
     $products_price = $products_price + $products_price * abs($customer_discount) / 100;
     } else {
     $products_price = $products_price - $products_price * abs($customer_discount) / 100;
     }
  if ((abs($customer_discount) != 0) && (tep_get_products_special_price($products_id) == "")) {
    return "<s>" . $this->format(tep_add_tax($products_price_ori, $products_tax) * $quantity) . "</s> " . $this->format(tep_add_tax($products_price, $products_tax) * $quantity);
  } else {
    return $this->format(tep_add_tax($products_price, $products_tax) * $quantity);
  }
     } else {
        return PRICES_LOGGED_IN_TEXT;
     }
   }


osCommerce Italia support: http://www.oscommerceitalia.com

Share this post


Link to post
Share on other sites

We have B2B installed, so do we need to go get the Total B2B Contribution? I have tried the code you gave me, but i can't get it to inegrate and work. I'll mess around w/ Total B2B later on tonight.

Share this post


Link to post
Share on other sites

There are problems with this contribution that have been posted but no follow-ups on how to fix them....

 

Warning: Missing argument 3 for display_price() in E:\Miata\dividi\includes\classes\currencies.php on line 72

 

Warning: Missing argument 3 for display_price() in ...\apache\htdocs\b2bshop\includes\classes\currencies.php on line 72

 

Please, anybody who got this fixed, post the solution!

Share this post


Link to post
Share on other sites

Hallo and Happy NY!

I'm still really eager to implement vizibility of %discount rates for customers. I do understand that it is very complicated to set an option to show the original price and the discount price in the same page.

However there must be a solution to inform a customer that he is UNIQUE and he has a special discounted price.

 

Please if anyone improved the B2B with showing to a customer his % of discount - it will be very kind of you to share the code here ))


Best wishes,

Alex Z.

Share this post


Link to post
Share on other sites

Hello everybody,

 

I can read in the readme file in B2B package that "every customer can have, if present, a special personal price per product.

 

I can't find where to define a special price for a single client and not for a group.

 

Thanks for your help.


Pierre

 

MS2 Fr - Easy Populate - Main Categories - Colissimo suivi - Send order html email - Box Image Thema - admin : copy, move and delete multiple products - Add new Fields - Featured Products - Ultimate SEO URLs - Faster Page Loads, Less DB queries - Page Cache - Credit Class & Gift Voucher - Specials on Default

Share this post


Link to post
Share on other sites

In the individual client record, I only see the abilityof setting a dicount for this client.

What I'm looking for is the ability, for one client, of setting a special price for each product.


Pierre

 

MS2 Fr - Easy Populate - Main Categories - Colissimo suivi - Send order html email - Box Image Thema - admin : copy, move and delete multiple products - Add new Fields - Featured Products - Ultimate SEO URLs - Faster Page Loads, Less DB queries - Page Cache - Credit Class & Gift Voucher - Specials on Default

Share this post


Link to post
Share on other sites

a newbie to osc. Would like to install TotalB2B but has trivia question.

 

Readme's install instructions mentioned :

2) Use "MS2 patched files" of this file, and copy "New files" in you catalog folder......

 

I have osc2.2-MS2 and applied few contribs already.

If I copy "MS2 patched files" , isn't it going to overwrite my other applied contribs ?

How should I proceed so that my existing contribs stay alive ?

 

I have no idea about patch and diff procedures ?

Can someone explain it more details. Or point me to the right direction.

 

thanks

T

Share this post


Link to post
Share on other sites

After setting B2B I have a bug in customer_default_address_id.

All previous customers have their default address set perfectly correct, but new customers don't ave any default address at all.

 

This bug leads to admin/customers.php?action=edit error like:

Warning: reset(): Passed variable is not an array or object in /home/piercing/public_html/admin/includes/classes/object_info.php on line 17
Warning: Variable passed to each() is not an array or object in /home/piercing/public_html/admin/includes/classes/object_info.php on line 18

 

I found it out when looking at db customers --> customers_default_address_id. All old customers have "1" in the line. But all new registrated customers have "0"

1486 m New Customer 0000-00-00 00:00:00 new@mail.ru  --->0<---  5622215   passwd 1 -0.00 1 1 
1483 m Old Customer 0000-00-00 00:00:00 old@mail.ru  --->1<---   4581089   passwd 1 -0.00 1 0

And of cource if I manualy set "1" to a new customer the admin bug in admin/customers.php?action=edit dissapear. But in catalog/address_book.php a new customer sees nothing at his default address.

 

DB table customers_default_address_id is set to "1" by default but it doesn't work for new customers.

 

customer.gif

db.gif


Best wishes,

Alex Z.

Share this post


Link to post
Share on other sites

I've solved the problem with admin/customers.php?action=edit but my customers still do not have any Default Address when registrated and they have to set the one manualy.


Best wishes,

Alex Z.

Share this post


Link to post
Share on other sites

Thanx to all! Done!

 

address_book_id in address_book table should be

address_book_id int NOT NULL auto_increment

Best wishes,

Alex Z.

Share this post


Link to post
Share on other sites

I am wondering if the author could add a field for TAX ID (required) to the customer registration process. The separate contribution found does not work. A set of instructions for an upgrade would be nice for those who already have this contribution installed.

 

Also if there isn't a setting for this, would the author also make it to where a notification of account approval would be e-mailed to the customer when the account is approved on the admin side.

 

TIA


Remember what the Bible says: He who is without sin, cast the first rock. And I shall smoketh it.

Share this post


Link to post
Share on other sites
I am wondering if the author could add a field for TAX ID (required) to the customer registration process.  The separate contribution found does not work.  A set of instructions for an upgrade would be nice for those who already have this contribution installed.

 

Also if there isn't a setting for this, would the author also make it to where a notification of account approval would be e-mailed to the customer when the account is approved on the admin side.

 

TIA

 

 

thinks 1 (TAX ID (required))... can u explain me better?

thinks 2 (notification of account approval)... i write down on a post it and try to work on it in the next days ;)


osCommerce Italia support: http://www.oscommerceitalia.com

Share this post


Link to post
Share on other sites
thinks 1 (TAX ID (required))... can u explain me better?

thinks 2 (notification of account approval)... i write down on a post it and try to work on it in the next days ;)

 

Yes, since this is a business-to-business type contribution ... wholesalers should require the customer to enter their TAX ID (required field) to deter the average joe just logging in and wasting OUR time of deleting their account. Yes ... I know ... they can just enter anything anyways and still waste our time. The fact is that it makes the wholesaler look a lot better when a legit customer knows they have to supply their tax id number when registering. Also it'll be a double check against the actual copy they have to send in (our own requirement).

 

About the account activation notification. It would be great just like when you first register, you get a notification about 'blah blah blah you can now do this with your account, thank you for registering blah blah blah".

Well I have changed the initial welcome e-mail after registering stating that "your account is pending approval, blah blah blah". Shouldn't another e-mail be sent about "your account has been approved" after the admin has activated it? Somehow, someway, the customer should be notified. Again, I know, we could just e-mail them manually but still, the automation would make life hella easier. You could build it into the code where the message could be changed manually or be changed thru the actual osC admin side.

 

This is an all around great contribution and maybe osC should consider integrating this into the next package or whenever they feel necessary. Again ... great work.

 

p.s. Remember to please include upgrade instructions for those who initially copied the diff files over a clean installation and have added numerous hacks since then. :P


Remember what the Bible says: He who is without sin, cast the first rock. And I shall smoketh it.

Share this post


Link to post
Share on other sites

ooohh.. :P thanks a lot hozone, sorry for the stupid questions. However the application won't email the customer to notify him about the approval. On other hand the admin (that would be me) won't receive an email notification about a new customer signin in. Are this features included in your contribution or should i install them separately? If so can you recommend me some contribution?

Thanks! :thumbsup:

Share this post


Link to post
Share on other sites
ooohh.. :P  thanks a lot hozone, sorry for the stupid questions.  However the application won't email the customer to notify him about the approval.

 

Yup, that is my request in my post for him/her to add it.


Remember what the Bible says: He who is without sin, cast the first rock. And I shall smoketh it.

Share this post


Link to post
Share on other sites
On other hand the admin (that would be me) won't receive an email notification about a new customer signin in. :thumbsup:

 

There is a contrib called New Customer E-mail that will notify you via email when new customer reggies.


Remember what the Bible says: He who is without sin, cast the first rock. And I shall smoketh it.

Share this post


Link to post
Share on other sites

I'm having a few problems with getting b2b to work with my osc... 1st i have a couple of other cotributions already implimented(morepics6 & Vendor emails).... With this contrib i've manually modified all files as directed by the install notes and added all new files. I also added the sql database entries. The problems that are occuring are that when i go to catagories on the admin part of osc, i'm getting an elseif error on the admin/catagories.php file. also when i go to manudicount under cutomers i get

 

1146 - Table 'area2270_osc1.TABLE_MANUDISCOUNT' doesn't exist

 

select count(*) as total from TABLE_MANUDISCOUNT g, manufacturers gm where g.manudiscount_manufacturers_id = gm.manufacturers_id

 

[TEP STOP]

 

I checked the database to see if it was created and it was

 

Also when i go to groups i get

 

1146 - Table 'area2270_osc1.TABLE_CUSTOMERS_GROUPS' doesn't exist

 

select count(*) as total from TABLE_CUSTOMERS_GROUPS g

 

I'm using myphpadmin to impliment the sql code.

 

Please any help would be appreciated... i'm trying to finally have my site going in a couple of days and i could use some help.

 

Thank you,

Vern

Share this post


Link to post
Share on other sites

I've been searching and even post up a thread regarding using total b2b and product_listing_col.php but got no answer. Please if anyone that can help me solve this problem?

 

 

================================

START CODE

================================

 

<?php

// Product Listing in Column

?>

<!-- product_listing_col //-->

<?php

 

DEFINE('PRODUCT_LIST_COL_NUM',3);

 

$listing_split = new splitPageResults($listing_sql, MAX_DISPLAY_SEARCH_RESULTS, 'p.products_id');

 

if ( ($listing_split->number_of_rows > 0) && ( (PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3') ) ) {

?>

<table border="0" width="100%" cellspacing="10" cellpadding="0">

<tr><td class="smallText"><?php echo tep_draw_separator('pixel_trans.gif', '12', '10'); ?></td>

<td width="50%" class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td>

<td width="50%" align="right" class="smallText"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td>

<td class="smallText" align="right"><?php echo tep_draw_separator('pixel_trans.gif', '10', '10'); ?></td>

</tr>

</table>

<?php

}

 

$info_box_contents = array();

 

if ($listing_split->number_of_rows > 0) {

 

$row = 0;

$col = 0;

 

$listing = tep_db_query($listing_split->sql_query);

while ($listing_values = tep_db_fetch_array($listing)) {

 

$listing_values['products_name'] = tep_get_products_name($listing_values['products_id']);

 

$lc_text= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id']) . '" class="borderImage">' . tep_image(DIR_WS_IMAGES . $listing_values['products_image'], $listing_values['products_name'], 140, 140) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id']) . '">' . $listing_values['products_name'] . '</a><br>';

 

//TotalB2B start

$product_info['products_price'] = tep_xppp_getproductprice($product_info['products_id']);

//TotalB2B end

 

//TotalB2B start

if ($new_price = tep_get_products_special_price($product_info['products_id'])) {

$product_info['specials_new_products_price'] = $new_price;

$query_special_prices_hide = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'SPECIAL_PRICES_HIDE'");

$query_special_prices_hide_result = tep_db_fetch_array($query_special_prices_hide);

if ($query_special_prices_hide_result['configuration_value'] == 'true') {

$lc_text = '  <span class="productSpecialPrice">' . $currencies->display_price_nodiscount($product_info['specials_new_products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</span> ';

} else {

$lc_text = ' <s>' . $currencies->display_price($product_info['products_id'], $product_info['products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</s>  <span class="productSpecialPrice">' . $currencies->display_price_nodiscount($product_info['specials_new_products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</span> ';

}

//TotalB2B end

 

if ($listing_values['specials_new_products_price']) {

$lc_text .= ' <s>' . $currencies->display_price($listing_values['products_id'], $listing_values['products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</s>  <span class="productSpecialPrice">' . $currencies->display_price($listing_values['products_id'], $listing_values['specials_new_products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</span> ';

 

} else {

$lc_text .= ' <font color=CC0000><b>' . $currencies->display_price($listing_values['products_id'], $listing_values['products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</b></font> ';

}

 

if (PRODUCT_LIST_BUY_NOW) {

$lc_text .= '<br><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing_values['products_id'], 'NONSSL') . '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $listing_values['products_name'] . TEXT_NOW) . '</a> ';

}

 

$info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"',

'text' => $lc_text);

 

$col ++;

if ($col > PRODUCT_LIST_COL_NUM-1) {

$col = 0;

$row ++;

}

}

 

new contentBox($info_box_contents);

 

} else {

 

$info_box_contents = array();

 

$info_box_contents[0] = array('params' => 'class="productListing-odd"');

$info_box_contents[0][] = array('params' => 'class="productListing-data"',

'text' => TEXT_NO_PRODUCTS);

 

new contentBox($info_box_contents);

 

}

 

if ( ($listing_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')) ) {

?>

<table width="100%" border="0" cellpadding="0" cellspacing="10">

<tr>

<td class="smallText"><?php echo tep_draw_separator('pixel_trans.gif', '12', '10'); ?></td>

<td width="50%" class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td>

<td width="50%" align="right" class="smallText"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td>

<td class="smallText" align="right"><?php echo tep_draw_separator('pixel_trans.gif', '10', '10'); ?></td>

</tr>

</table>

<?php

}

?>

 

==============================

END CODE

==============================

 

Thanks in advance

Share this post


Link to post
Share on other sites

i've solved my last couple of problems but i'm down to 2 left... I have morepics6 and vendor emails contibutions installed but when i try to modify the categories.php file in admin i keep getting this error:

 

Parse error: parse error, unexpected T_ELSEIF in /home/area2270/public_html/220catalog/admin/categories.php on line 886

 

This is the code:

 

} elseif ($action == 'new_product_preview') {

if (tep_not_null($HTTP_POST_VARS)) {

$pInfo = new objectInfo($HTTP_POST_VARS);

$products_name = $HTTP_POST_VARS['products_name'];

$products_description = $HTTP_POST_VARS['products_description'];

$products_url = $HTTP_POST_VARS['products_url'];

} else {

 

//vendors_email start Many additions here, the order they are listed is very important, all new fields have vendor or vendors in the name,

//(ie, "p.vendors_product_price,")

//TotalB2B start

$products_price_list = tep_xppp_getpricelist("p");

$product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_url, p.products_quantity, p.products_model, p.vendors_prod_id, p.products_image, p.products_subimage1, p.products_subimage2, p.products_subimage3, p.products_subimage4, p.products_subimage5, p.products_subimage6, " . $products_price_list . ", p.products_price, p.vendors_product_price, p.products_weight, p.vendors_prod_comments, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id, p.vendors_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'");

//TotalB2B end

$product = tep_db_fetch_array($product_query);

//vendors_email end

$pInfo = new objectInfo($product);

$products_image_name = $pInfo->products_image;

$products_subimage1_name = $pInfo->products_subimage1;

$products_subimage2_name = $pInfo->products_subimage2;

$products_subimage3_name = $pInfo->products_subimage3;

$products_subimage4_name = $pInfo->products_subimage4;

$products_subimage5_name = $pInfo->products_subimage5;

$products_subimage6_name = $pInfo->products_subimage6;

}

 

..........end code.................

 

I don'tknow whats wrong.....

 

my 2nd problem is:

 

Warning: Missing argument 3 for display_price() in /home/area2270/public_html/220catalog/includes/classes/currencies.php on line 72

 

someone else sugessted modifing includes/meta_ tags.php

but i have no such file...

 

Whoever can help i would really appreciate it

 

Thanx

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×