Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Price List/ New_Field_Anywhere


Guest

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?

Link to comment
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 ======>>>>>.

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