Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

[contribution] Total B2B


397 replies to this topic

#21 jogoto

  • Community Member
  • 18 posts
  • Real Name:Wolfram Palmer

Posted 25 June 2004, 10:43

Ok, problem solved:

There are four changes in catalog/index.php
GROUP BY p.products_id
added.

After changing to
group by p.products_id
(just small characters) it works.

But why? Nobody else had this problem.

#22 PVK

  • Community Member
  • 259 posts
  • Real Name:Patrick

Posted 25 June 2004, 18:53

Yep , i had the same problem for which i asked help , but got none.

I searched for my error and stumbled on yours, which seemed to have the same problem.
Tried your solution and changed all instances of the: GROUP BY to group by and then it worked again :)

Does anyone know why this happened and why it makes such a BIG difference [i am not a programmer at all, but am very curious ]

#23 mx5gr

  • Community Member
  • 23 posts
  • Real Name:John Tikis

Posted 26 June 2004, 18:06

I installed the 1.1 version of B2B over a clean MS2 installation patched with multi stores 1.4.

I am running on a curious problem. First of all, all prices in the catalog show as 0. Regardless, I get this error in the "What's new" box:

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

Line 72 is

    function display_price($products_id, $products_price, $products_tax, $quantity = 1) {

Any ideas?

#24 markchiu

  • Community Member
  • 394 posts
  • Real Name:Chih-Hsiung, Chiu
  • Location:Toronto Canada

Posted 29 June 2004, 03:10

This seems to be a difficult (complicated perhaps.....)contribution, so i would like to ask....

1. Does it "let me to set different discount prices at the same time?

say, example... $150= 10%discount or minus an amount of 10 % of $150....
$300= 20%discount or minus an amount of 20 % of $300....

2. I would like to create a group of people to have a life time membership discount...can i do it with this mod?? ;)


Sorry for these stupid questions tho :( :P
OS-commerce is great, but with other magical contributions, that is just so "COOL"!

#25 estrellashopping

  • Community Member
  • 34 posts
  • Real Name:estrella

Posted 29 June 2004, 06:20

I've just installed the script and its running well and is really useful! :) however, just a suggestion, i think it'll be good if it allows customers to enter a discount code when they check out..instead of just categorizing into groups...:)
You live, you learn. :)

#26 estrellashopping

  • Community Member
  • 34 posts
  • Real Name:estrella

Posted 29 June 2004, 07:20

erm...i didnt do a through check...i get this error mesage on my prdt info.

Fatal error: Call to undefined function: tep_xppp_getproductprice() in /home/estrella/public_html/product_info.php on line 78

help pls?
You live, you learn. :)

#27 estrellashopping

  • Community Member
  • 34 posts
  • Real Name:estrella

Posted 29 June 2004, 08:02

above error have been solved. :)
You live, you learn. :)

#28 kenlyle

  • Community Member
  • 5 posts
  • Real Name:Ken Lyle

Posted 29 June 2004, 22:40

estrellashopping, on Jun 29 2004, 06:20 AM, said:

I've just installed the script and its running well and is really useful! :) however, just a suggestion, i think it'll be good if it allows customers to enter a discount code when they check out..instead of just categorizing into groups...:)
One downside to letting the customer enter a code is that codes could be shared 'downstream' to other users. Using the database makes sure that the user gets what the Admin wants to give.

#29 estrellashopping

  • Community Member
  • 34 posts
  • Real Name:estrella

Posted 30 June 2004, 03:50

kenlyle, on Jun 29 2004, 10:40 PM, said:

estrellashopping, on Jun 29 2004, 06:20 AM, said:

I've just installed the script and its running well and is really useful! :) however, just a suggestion, i think it'll be good if it allows customers to enter a discount code when they check out..instead of just categorizing into groups...:)
One downside to letting the customer enter a code is that codes could be shared 'downstream' to other users. Using the database makes sure that the user gets what the Admin wants to give.
the reason why i proposed the code thing is i think it'll be good to attach a discount code or something that is linked to a promotion, thus, upon receiving an order using the code, you'll know its from the particular promotion. just my 2 cents worth though. :)
You live, you learn. :)

#30 markchiu

  • Community Member
  • 394 posts
  • Real Name:Chih-Hsiung, Chiu
  • Location:Toronto Canada

Posted 30 June 2004, 03:56

Hi, guys, sorry to ask this question but what does the "Price 1" under the product price mean??? ;) ;) ........plus i can't seem to adjust anything about price 1 ;)

thanks for explaining :P

Edited by markchiu, 30 June 2004, 03:56.

OS-commerce is great, but with other magical contributions, that is just so "COOL"!

#31 markchiu

  • Community Member
  • 394 posts
  • Real Name:Chih-Hsiung, Chiu
  • Location:Toronto Canada

Posted 01 July 2004, 18:57

Bump
OS-commerce is great, but with other magical contributions, that is just so "COOL"!

#32 markchiu

  • Community Member
  • 394 posts
  • Real Name:Chih-Hsiung, Chiu
  • Location:Toronto Canada

Posted 02 July 2004, 05:18

jogoto...I just had the problem, you did, and i took your modification, and it works too....really wonder why it happens.......perhpaps somewhere along this contribution that group by...... are not capital letters...and index.php is accidently being put the capital letters....... ;) :lol:



and never mind what about the price 1 problem...i just figured out that you could have more than 1 price of the same product :lol:
OS-commerce is great, but with other magical contributions, that is just so "COOL"!

#33 jogoto

  • Community Member
  • 18 posts
  • Real Name:Wolfram Palmer

Posted 02 July 2004, 13:04

mx5gr, on Jun 26 2004, 06:06 PM, said:

I installed the 1.1 version of B2B over a clean MS2 installation patched with multi stores 1.4.

I am running on a curious problem. First of all, all prices in the catalog show as 0. Regardless, I get this error in the "What's new" box:

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

Line 72 is

    function display_price($products_id, $products_price, $products_tax, $quantity = 1) {

Any ideas?
@ mx5gr

I had the same problem, only difference is my prices were all 16 :D .
I wrote:

Quote

Problem solved, there are two lines of code in product info and listing were not marked as a change to the original code.
This only happens if you patch the files and taking only the marked parts. Taking the two files product_info.php and product_listing.php from the original installation files comparing to the contrib the change in product_info.php is
      $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
replace with
      $products_price = $currencies->display_price($product_info['products_id'], $product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
and
            $products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';
with this
            $products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price($product_info['products_id'], $products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';

In product_listing change
              $lc_text = ' ' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . ' ';
in
              $lc_text = ' ' . $currencies->display_price($listing['products_id'], $listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . ' ';

It helped for me.

#34 Phat7

  • Community Member
  • 13 posts
  • Real Name:Rufat Agayev

Posted 05 July 2004, 18:26

Can I manipulate option prices with B2B? I have two options for each dvd on my store, one for purchase and one for rent. I want to be able to make the rent for premium members free (the price to show 0) and the purchase with 10% discount. Is it possible or is there another way to do it?

Any help would be greatly appreciated. And thanks for the great contribution! :)

Rufus

#35 mattwho

  • Community Member
  • 202 posts
  • Real Name:Matt Davis
  • Location:California

Posted 06 July 2004, 16:01

I used a contribution to lost my products in columns nad with B2B the product_listing pages are blank and the right column is missing. If i go back to my old product_listing.php it works. Is there a way to get it to work with the columns?

#36 mattwho

  • Community Member
  • 202 posts
  • Real Name:Matt Davis
  • Location:California

Posted 07 July 2004, 02:49

similar thing happens on product_info.php

#37 Maj

  • Community Member
  • 11 posts
  • Real Name:Maj

Posted 08 July 2004, 00:40

I have 71 products (about 4 pages) in one category after applying Total B2B v1.1 on a fresh MS2 I only get 1 page. In left column the count still says 71 products in the category but I only get about 18. Does anyone knows whats going on? I have applied other contribution after Total B2B and did not realize this problem until afterwards? Help :lol:

#38 Maj

  • Community Member
  • 11 posts
  • Real Name:Maj

Posted 08 July 2004, 02:42

I think the problem is, at the bottom of the list it is not displaying the page count (page 1 of ?) etc. It will only display the maximum value of "Search Result" set in admin. No option for next page etc. Where can this be fixed?

#39 jogoto

  • Community Member
  • 18 posts
  • Real Name:Wolfram Palmer

Posted 08 July 2004, 05:43

@ Maj

see my posting:

Quote

Ok, problem solved:

There are four changes in catalog/index.php

GROUP BY p.products_id

added.

After changing to

group by p.products_id

(just small characters) it works.


#40 hozone

  • Community Member
  • 174 posts
  • Real Name:hOZONE
  • Gender:Male
  • Location:Italy

Posted 08 July 2004, 08:27

Maj, on Jul 8 2004, 03:42 AM, said:

I think the problem is, at the bottom of the list it is not displaying the page count (page 1 of ?) etc. It will only display the maximum value of "Search Result" set in admin. No option for next page etc. Where can this be fixed?
where did you get this problem?
osCommerce Italia support: http://www.oscommerceitalia.com