Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Model number


Bruce

Recommended Posts

I am tryingto find the php file I have to change to get the Model # to show up. Can anyone point me in the right direction...... Most of my buyers use item numbers, so if I could get it to show on the shopping cart and the confurmation email. THat would be realy good.

 

I found the header for the shopping cart. shopping_cart.php but I cann't find the list below that. Help

 

B

 

 

PS.. I read some of the coments made by some, If you don't like the cart ... SHHHHHHHHHHH..... I have looked at some carts with tons of doc files, one said it would do ALL that I needed. I took 40+ days to load 800 items, on loading the cart. 18 items total and cart was full. GRRRRR.. most orders I get are 20 to 40 items each.

Yes this cart is in the start up pierod, and it works well. So lets keep up the good work and support.

Link to comment
Share on other sites

If you look in the file includes/functions/general.php, you will find a function called:

 

tep_get_products_name or something like that.

 

Copy that and replace products_name with products_model.

 

Where you want to input the products name type:

 

<?php echo tep_get_products_model; ?>

I ♥ PHP/MYSQL/CSS

Link to comment
Share on other sites

Sorry I forgot that in order for the function to function you have include the product_id number in the command.

 

Just look for the product name in the listing and it will have the tep_get_products_name. Just copy and paste that and change name to model. Sorry I forgot of the top of my head what is the variable name for product listings. ($HTTP_GET_VARS['products_id'] or was it (int)$p_id or something???) Hahhahah too much code running through my head.

I ♥ PHP/MYSQL/CSS

Link to comment
Share on other sites

So if I replace name with model, wought that replace the name with the model number in the report?

 

 

 

tep_get_products_name or something like that.

 

Copy that and replace products_name with products_model.

 

Where you want to input the products name type:

 

<?php echo tep_get_products_model; ?>

 

 

 

I need both Model and Name. or am I looking at this the wrong way?????

:unsure:

Link to comment
Share on other sites

  • 1 month later...
So if I replace name with model, wought that replace the name with the model number  in the report?

 

 

 

tep_get_products_name or something like that.

 

Copy that and replace products_name with products_model.

 

Where you want to input the products name type:

 

<?php echo tep_get_products_model; ?>

 

 

 

  I need both  Model and  Name.  or am I looking at this the wrong way????? 

:unsure:

 

Did you get this sorted out? I am looking for the same, Model and Name in the cart and email. What is the snippet of code that is needed to accomplish this and where should it be placed, anyone?

 

Joe

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...