Jump to content
Sign in to follow this  
lukel03

Price List/ New_Field_Anywhere

Recommended Posts

I'm using to contributions and I'm all but finished integrating them. I'm using Price List (HTML) from here : http://addons.oscommerce.com/info/1705

 

 

I am also using New_Field_Anywhere located here : http://addons.oscommerce.com/info/3164

 

I've gotten all the admin side stuff plugged in, but I'm stuck when it comes to adding these lines because of my Price List contribution.

 

I just have to put these lines in...im kinda stuck though :

 

 
# Find :

// create column list
   $define_list = array('PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL,
#
# After, add :
#
   					 'PRODUCT_LIST_REF_CONST' => PRODUCT_LIST_REF_CONST,
#
# Find :
#
       case 'PRODUCT_LIST_MODEL':
         $select_column_list .= 'p.products_model, ';
         break;
#
# After, add :
#
       case 'PRODUCT_LIST_REF_CONST':
         $select_column_list .= 'p.products_ref_const, ';
         break;
#
# Find :
#
       case 'PRODUCT_LIST_MODEL':
         $listing_sql .= "p.products_model " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
         break;
#
# After, add :
#
       case 'PRODUCT_LIST_REF_CONST':
         $listing_sql .= "p.products_ref_const " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
         break;
#

 

Is there a way to do this same thing within html?

Share this post


Link to post
Share on other sites

I was still working on this problem and seeing if there was a way to create another field in the admin cp and then put it the table on my main page?

Share this post


Link to post
Share on other sites

Looks like these are instructions on how to edit a php file.

 

Which file you don't mention nor exactly what the problem is.

 

Can't find he file?

 

Can't edit the file?

 

Can find the lines mentioned?

 

Don't know how to use and editor?

 

Which one or is it more.


Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

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
Sign in to follow this  

×