Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer Add Product


empo

Recommended Posts

I have the contrib installed, and working, for the most part. For some reason I don't boxes for the item description or title, and the catagory drop down doesn't list the categories. (Manufacturers are listed).

 

I'm also using WYSIWYG HTMLArea (MULTI-LINGUAL) FOR PRODUCT DESCRIPTIONS

v1.7

 

 

If there's any source code you want me to provide let me know.

 

Steve

Link to comment
Share on other sites

empo please help !!!

Thanks to your great contribution , i finally decide to pass from ms1 to ms2 !!!!

 

i did everything , but i get this error message .

 

Fatal error: Call to undefined function: tep_reset_cache_block() in /home/khposgr/public_html/newshop/account_add.php on line 102

 

when i do insert the product .

 

What's the wrong ?

Link to comment
Share on other sites

empo please help !!!

Thanks to your great contribution , i finally decide to pass from ms1 to ms2 !!!!

 

i did everything , but i get this error message .

 

Fatal error: Call to undefined function: tep_reset_cache_block() in /home/khposgr/public_html/newshop/account_add.php on line 102

 

when i do insert the product  .

 

What's the wrong ?

 

maybe you remember me . I was trying to fix your contribution to Ms1 !!!

Thanks to your contribution , i finally decide to convert my e-shop to Ms2 .

I downloaded the last version of your contribution , i 've did everything step by step .

Look was it is going on .....

Customer ( after my aprovement only from phpmyadmin ... ) can add products . But when he push the final button ( insert) the product is going at his category , normal , with a wait for aprovement from administrator , but i get the following error message when the next page is trying to be loaded .

 

Fatal error: Call to undefined function: tep_reset_cache_block() in /home/khposgr/public_html/newshop/account_add.php on line 110

 

Please help me !!!

Is this a function that was already before i installed your contribution ? or is a new one and why it does'nt find it ?

you can check it out at www.khpos.gr/newshop

Please , I need your help !!!

Link to comment
Share on other sites

it's ok !!!!

 

i just put out the use cache function from admin area and everything is working properly !!!!

Anyway thank you very much for your great contribution !!!!

 

ps. is there a possibility for the visitor to edit his products as admin do it ?

Link to comment
Share on other sites

Another suggestion !!!!

 

I was thinking of .....

We 're doing a virtual product named "add products service " or something like that .

When the customer buys this product online using his credit card , the switch at customer_ap field changes to 1 ( give the access to the customer to add products ) , so everything is online now !!!

He don't wait the permission to be given from the administrator .

 

I don't know how to do it in php , but i suppose that at checkout_success page we must put a query that is looking for the specific product if it is buyed from this customer .

When it finds it , it changes the customer_ap field to 1 .

 

What do you think can we do it ?

 

ps. of cource i think that the previus suggestion will be very usefull . Suppose we have 10 customers with their products(suppose 100 each one ) and every year they want to change prices . We can't do it !!! They must be able to do it !!!

Link to comment
Share on other sites

Hi Maxim,

 

The "Wishlist 2.0" has a good interface where you can take piece of code to implement the "list of user's product" with the possibility to delete on of them by the user, and the possibility to "edit" the product.

 

Bruno

Link to comment
Share on other sites

2->jimtsik i need ms1 if you have it send it to me

 

some mistake was in last update so change it from

 

15.

## Open file: product_reviews_write.php at line :51

## Add code :

//BOF:Customer Add product

$customer_query = tep_db_query("select customers_firstname, customers_lastname,customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$product_info['customer_id'] . "'");

$customer = tep_db_fetch_array($customer_query);

define(EMAIL_TEXT_SUBJECT,'New review added for your product');

$mail = "There New Review added for product ".$product_info['products_name']." you add\n\n";

$mail .= "Review :\n".$review."\n\n";

tep_mail($pcustomer['customers_firstname'] . ' ' . $pcustomer['customers_lastname'], $pcustomer['customers_email_address'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

//EOF:Customer add product

 

to:

 

15.

## Open file: product_reviews_write.php at line :51

## Add code :

//BOF:Customer Add product

$pcustomer_query = tep_db_query("select customers_firstname, customers_lastname,customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$product_info['customer_id'] . "'");

$pcustomer = tep_db_fetch_array($pcustomer_query);

define(EMAIL_TEXT_SUBJECT,'New review added for your product');

$mail = "There New Review added for product ".$product_info['products_name']." you add\n\n";

$mail .= "Review :\n".$review."\n\n";

tep_mail($pcustomer['customers_firstname'] . ' ' . $pcustomer['customers_lastname'], $pcustomer['customers_email_address'], EMAIL_TEXT_SUBJECT, $mail, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

//EOF:Customer add product

Link to comment
Share on other sites

i can make one more item in menu for user something like manage your own products where customer be able to change alredy added product.

 

about "add products service" i did something like this not every customer can add products only those who admin permitted to

Link to comment
Share on other sites

i can make one more item in menu for user something like manage your own products where customer be able to change alredy added product.

 

about "add products service" i did something like this not every customer can add products only those who admin permitted to

 

It will be very usefull if you can make another selection like "edit your products " in account .

I suggest a querry that is shearching only customers products and lists them for editing .

Another question !!!

What about if customer wants to add a new category ?

Link to comment
Share on other sites

  • 2 weeks later...

how will sellers get paid? do i collect payment from the buyer or do i let the buyer paypal the seller?

 

if i collect payment then i need a way of tracking sales and payments to sellers...

 

i'm very interested in knowing how other users plan to handle payments.

Link to comment
Share on other sites

  • 1 month later...

Customer Add Product v1.3.1(Security bug fixed)

 

Security bug found by:Bacen

 

Description: customer able to change GET request and edit any products

 

Solution: Update to new version.

Link to comment
Share on other sites

<_< keep getting the same problem everytime hope some1 can help me out

Fatal error: Call to undefined function: tep_get_languages() in /data/members/paid/1/2/12tie.nl/htdocs/www/account_add.php on line 192 thanks in forward

Link to comment
Share on other sites

now i have the following problem when i update a product as customer it's not added to the catalog and all the manufaturers are all called 0

Link to comment
Share on other sites

sorry it works for 99% now but when i wanna manage my product the following error occures:Fatal error: Cannot redeclare tep_draw_file_field() (previously declared in /data/members/paid/1/2/12tie.nl/htdocs/www/includes/functions/html_output.inc.php:3) in /data/members/paid/1/2/12tie.nl/htdocs/www/includes/functions/product_manage.php on line 5

i :thumbsup: hope there is a way to solve it cause i love this contrib

Link to comment
Share on other sites

you need to erase "html_output.inc.php"

after this go to html_output.php and find this code:

//BOF:Add new product

require('html_output.inc.php');

//EOF:Add new product

 

Delete it.

Link to comment
Share on other sites

thanks i'm using the sts_template and now im having problems with the sts_user_code.php hopefully you know about this template and how do i get my manufacturers back cause the names are still 00000000 anyway thanks for your support :thumbsup:

Link to comment
Share on other sites

about template system yes i know but no problem should be with this template

 

about manufacturers i will check it

 

also another bug found non approved customer can enter to manage products

 

In next version i will fix it

Link to comment
Share on other sites

This is the error i'm getting still after everything you said:Fatal error: Cannot redeclare tep_get_category_tree() (previously declared in /data/members/paid/1/2/12tie.nl/htdocs/www/includes/functions/product_manage.php:79) in /data/members/paid/1/2/12tie.nl/htdocs/www/includes/sts_user_code.php on line 42 <_<

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