Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] STS v4


Guest

Recommended Posts

Do you have any other contributions installed that would have made modifications to either the JavaScript or the product_info.php file?

iam not sure if it moded the "JavaScript" am sure it didt!. and no modding to the product_info.php. i only installed this "http://www.oscommerce.com/forums/index.php?showtopic=137141"

Edited by dbz_195
Link to comment
Share on other sites

Lori, yes, the code mentioned in the link above will get you the search component that you need.

 

Tip:

 

STS Link to a category:

 

<a href="<?php echo tep_href_link('index.php', 'cPath=21&', 'NONSSL'); ?>">Category 21 Name Here</a>

 

STS Link to a product:

 

<a href="<?php echo tep_href_link('product_info.php', 'products_id=53&', 'NONSSL'); ?>">Product 53 Name Here</a>

 

Individual Page links that keep the session ID in tact:

<a href="<?php echo tep_href_link('conditions.php', 'NONSSL'); ?>"

Link to the catalog/conditions.php page.

 

<a href=' . tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL') . ' class="headerNavigation">' . 'contact' . '</a>';

Link to the catalog/contact_us.php page.

 

The links above work great if you are looking for static links for a few categories and products. If you are wanting images to go with dynamic links to categories and products you would have to edit the actual category page itself. You could always throw the $categoriesbox tag into a div unordered list statement in your template and then attempt to sytle the list the way you need it.

 

 

Hey Bill,

 

I have been working on this osCommerce site with STS. I did get the home page looking good!! Yay!! I am using a very specific custom design and layout so I was thrilled when I got everything looking as it should. I am still struggling with a few things. For instance I have my general navigation on top such as FAQs, Contact, Terms of Service, etc. These are all images not straight HTML text. Then, I have left side navigation which lists my categories and these are all images as well.

 

So for instance the line of code currently for the Contact button is:

 

<td> <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','images/nav/contact_over.gif',1)"><img src="images/nav/contact_up.gif" name="Image6" width="111" height="36" border="0"></a></td>

 

So I have a few questions:

 

1. I am re-reading all of the STS documentation as well as the forums but maybe you can help answer this question. For the general pages such as Contact, FAQs, etc. do I need to create a template for each one of these pages? There will not be any products on these pages but will have the same navigation as all other pages. Then, where should they be filed? With the STS template file under catalog/includes/sts_templates?

 

2. Can you maybe point me in the right direction on how to work the links since I have images for the navigation? From what you said in your post, it seems like if I am using images for the navigation I need to do this a different way? I am just not sure?

 

Thanks so much!!

Link to comment
Share on other sites

Hey Bill,

 

I have been working on this osCommerce site with STS. I did get the home page looking good!! Yay!! I am using a very specific custom design and layout so I was thrilled when I got everything looking as it should. I am still struggling with a few things. For instance I have my general navigation on top such as FAQs, Contact, Terms of Service, etc. These are all images not straight HTML text. Then, I have left side navigation which lists my categories and these are all images as well.

 

So for instance the line of code currently for the Contact button is:

 

<td> <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','images/nav/contact_over.gif',1)"><img src="images/nav/contact_up.gif" name="Image6" width="111" height="36" border="0"></a></td>

 

So I have a few questions:

 

1. I am re-reading all of the STS documentation as well as the forums but maybe you can help answer this question. For the general pages such as Contact, FAQs, etc. do I need to create a template for each one of these pages? There will not be any products on these pages but will have the same navigation as all other pages. Then, where should they be filed? With the STS template file under catalog/includes/sts_templates?

 

2. Can you maybe point me in the right direction on how to work the links since I have images for the navigation? From what you said in your post, it seems like if I am using images for the navigation I need to do this a different way? I am just not sure?

 

Thanks so much!!

Answer for #1: No, you do not need to create a specific template for those pages, they will use the default template that is listed in the STS Default Module (out of the box it would be the sts_template.html). You can make a specific template for those pages if you wanted too and would use this naming syntax: phpscriptname.php.html or contact_us.php.html for example. The template should be located in your templates folder along with your index.php.html, etc.

 

:thumbsup: Also, you may be interested in the Add New Pages Using STS contribution that I posted in the STSv4 Power Pack site (a sited dedicated to addons for STS users, Link in my signature below).

 

Answer for #2: This one is a little more tricky. You need to think on how you need the links populated, dynamically or static. OsCommerce by default dynamically populates the links in the category menu by what categories you created in the admin. If you want to keep it this way but still use images for the menu, images I mean specific buttons for each category, then you would need to look into one of the category image contributions. I think this one would work for you:

Category Box Images

 

If you only have a few categories and they do not change very often, then you could easily mock up your category menu using your existing image menu and just insert the URLs for each link. You would use the static method that I mentioned in the post that you quoted.

 

Hope this helped you out,

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Hi Bill,

 

Your contribution is helping us alot, I wanted to enter some extra information in shopping_cart.php and do not want to change it in coding area, so what I thought if I create STS template shopping_cart.html may be it work like other category and products template works, but it did'nt.

So here I am with this question, what I have to do to make my HTML sts template for Shopping cart or contact us or any other page to work in STS System.

 

 

Kind Regards

 

Zee

Link to comment
Share on other sites

Hi Bill,

 

Your contribution is helping us alot, I wanted to enter some extra information in shopping_cart.php and do not want to change it in coding area, so what I thought if I create STS template shopping_cart.html may be it work like other category and products template works, but it did'nt.

So here I am with this question, what I have to do to make my HTML sts template for Shopping cart or contact us or any other page to work in STS System.

Kind Regards

 

Zee

well thanks sorry i missed your reply posted before my post, I saved edited file as shopping_cart.php.html and it work.

 

Great !

Thanks bill

 

Zee

Link to comment
Share on other sites

Answer for #1: No, you do not need to create a specific template for those pages, they will use the default template that is listed in the STS Default Module (out of the box it would be the sts_template.html). You can make a specific template for those pages if you wanted too and would use this naming syntax: phpscriptname.php.html or contact_us.php.html for example. The template should be located in your templates folder along with your index.php.html, etc.

 

:thumbsup: Also, you may be interested in the Add New Pages Using STS contribution that I posted in the STSv4 Power Pack site (a sited dedicated to addons for STS users, Link in my signature below).

 

Answer for #2: This one is a little more tricky. You need to think on how you need the links populated, dynamically or static. OsCommerce by default dynamically populates the links in the category menu by what categories you created in the admin. If you want to keep it this way but still use images for the menu, images I mean specific buttons for each category, then you would need to look into one of the category image contributions. I think this one would work for you:

Category Box Images

 

If you only have a few categories and they do not change very often, then you could easily mock up your category menu using your existing image menu and just insert the URLs for each link. You would use the static method that I mentioned in the post that you quoted.

 

Hope this helped you out,

 

Thank you Bill. Okay so now I have the following questions. :sweating:

 

1. Let's use the Contact page as an example. I created a contact.php.html page under the catalog/includes/test/sts_templates directory. When I view the Contact page, the images are not pulling from where the main template (default) images pull from which is under catalog/images. Meaning I created the sts_template using my custom design and when viewing it all images appear fine. However, when I add an images folder with the files under catalog/includes/sts_templates/test/images then the images show up fine for the Contact.php.html page.

 

My question is... should I be doing it this way? If not, I am trying to figure out why the main template pulls the images fine from catalog/images but the new contact page does not pull from the same place??

 

2. To link to the contact page or any other page... I apologize but I am just not getting it I guess. I tried using an absolute link such as http:///www.domainname.com/catalog/includes.sts_templates/contact.php.html. This does work. However, then in Internet Explorer it will "sometimes" display "Done but with Errors on Page" at the bottom left hand corner. The error is in regards to the URL I am using for the Contact link. Should I be linking to the general pages this way? Meaning Contact, FAQs, etc.? Should I be using an absolute URL for the links?

 

3. To give you a better idea of how I need to setup the other templates...

 

Index Page: Will have a black background where the home page content will go.

 

Product Pages/Category Pages: These will ALL have a white background where the product images and content go.

 

Contact, FAQs, Site Map, etc: These general pages will all have their own content and will have a white background where the main content goes.

 

4. So should I create a template for the index/home page since this will have a black background, then the "default" template sts_template will apply to the product pages? Then for the general pages such as Contact, FAQs, etc., I am trying to figure out if "do not" need to create a separate template or page for each one, then where do I place the content for each page?

 

Thanks Bill!!!! :D

Link to comment
Share on other sites

This seems like such a simple thing but I am unable to figure it out.

 

I am trying to add a background color to my template pages. Not "table colors," the actual page background color. I tried changing it in the stylesheet.css and adding that file to the same directory as my templates catalog/includes/sts_templates/test but it is not showing up? It shows up when I am in Dreamweaver but not online.

 

Any suggestions?

 

Thanks!!

Link to comment
Share on other sites

This seems like such a simple thing but I am unable to figure it out.

 

I am trying to add a background color to my template pages. Not "table colors," the actual page background color. I tried changing it in the stylesheet.css and adding that file to the same directory as my templates catalog/includes/sts_templates/test but it is not showing up? It shows up when I am in Dreamweaver but not online.

 

Any suggestions?

 

Thanks!!

 

 

NEVERMIND! I figured it out. :blush: It seems like it does pull from the stylesheet.css under Category. I had tried it there first but for some reason it initially was not displaying. Maybe I needed to refresh my browser. It is working now.

 

Thanks again!!

Link to comment
Share on other sites

Okay - next hurdle I am working on... :sweating:

 

I have started to enter in all of my categories and subcategories through the Admin. For the template that will be used to display the products, there is a table that will display the images and product titles - then when you click on the product, you will get the full page version.

 

Okay, so how do I set this up so that the products fall within that specific table on the template?

 

I know, I know... I am sort of working on a variety of things at the same time. I am trying to get through what I can on my own while also seeking help on the things that I am stuck on.

 

Thanks!!

Link to comment
Share on other sites

Answer for #1: No, you do not need to create a specific template for those pages, they will use the default template that is listed in the STS Default Module (out of the box it would be the sts_template.html). You can make a specific template for those pages if you wanted too and would use this naming syntax: phpscriptname.php.html or contact_us.php.html for example. The template should be located in your templates folder along with your index.php.html, etc.

 

:thumbsup: Also, you may be interested in the Add New Pages Using STS contribution that I posted in the STSv4 Power Pack site (a sited dedicated to addons for STS users, Link in my signature below).

 

Answer for #2: This one is a little more tricky. You need to think on how you need the links populated, dynamically or static. OsCommerce by default dynamically populates the links in the category menu by what categories you created in the admin. If you want to keep it this way but still use images for the menu, images I mean specific buttons for each category, then you would need to look into one of the category image contributions. I think this one would work for you:

Category Box Images

 

If you only have a few categories and they do not change very often, then you could easily mock up your category menu using your existing image menu and just insert the URLs for each link. You would use the static method that I mentioned in the post that you quoted.

 

Hope this helped you out,

 

Hi Bill,

 

Sorry for the various postings. :wacko: I am trying all of this as I go along and so I have a variety of questions that come up at different times. I looked at the Contribution you provided for "Category Box Images." I guess I am a little unsure what you mean by if I "need the links populated, dynamically or static." I just want the user to click on for example the button image that says "Comedy" and then they will go to the product page that displays all of the comedy products. Once they are on that page, the user can then click on a product and get the full page version for that product.

 

It seems like if I just use a URL link for each button image that would be the easiest solution but you are however the expert so I am really interested in what you recommend. As far as the categories there will be about 18 Categories. Can't I just link to each category page? Although I am not even sure what the URL would be for each category? Also, again please note that there will be NO shopping cart or eCommerce on this site. This is being used so that the client can easily maintain the products through the Admin.

 

Thanks again!!

Link to comment
Share on other sites

Hi Bill,

 

Sorry for the various postings. :wacko: I am trying all of this as I go along and so I have a variety of questions that come up at different times. I looked at the Contribution you provided for "Category Box Images." I guess I am a little unsure what you mean by if I "need the links populated, dynamically or static." I just want the user to click on for example the button image that says "Comedy" and then they will go to the product page that displays all of the comedy products. Once they are on that page, the user can then click on a product and get the full page version for that product.

 

It seems like if I just use a URL link for each button image that would be the easiest solution but you are however the expert so I am really interested in what you recommend. As far as the categories there will be about 18 Categories. Can't I just link to each category page? Although I am not even sure what the URL would be for each category? Also, again please note that there will be NO shopping cart or eCommerce on this site. This is being used so that the client can easily maintain the products through the Admin.

 

Thanks again!!

Lori, I'll start by defining some terms....

 

Dynamic Menu: means that your menu is automatically created by the categories that you added in the admin. On a default osCommerce, the category menu is created in the categories.php file and styled by the stylesheet.css file. You can style the menu any way you need to only limited by yourown skill level. I only suggested the Category Box Image contribution since you wanted to create an image based menu. You could have created your images and then uploaded them in the admin and osC would have populated your image menu dynamically, as long as you would have installed that contribution. There are several other contributions available that allow you to keep the stock dynamic menu and still be able to easily custimize it at will.

 

Static Menu: means that you have created your own menu and now want to manually link the items on the menu to the categories that you created in the admin. This is not the stock behavior of osCommerce so you have to create the menu as well as establish the links. You would need to familiarize yourself with osC in order to know what the Category ID and Product ID is. This is not a difficult thing to do as you would use the code that I had suggested for linking to categories and products by what the category and product ID is. You can easily find the category and product ID by clicking on these in the admin and viewing the ID in the browser address bar.

 

So....hope the above helped in some way.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Lori, I'll start by defining some terms....

 

Dynamic Menu: means that your menu is automatically created by the categories that you added in the admin. On a default osCommerce, the category menu is created in the categories.php file and styled by the stylesheet.css file. You can style the menu any way you need to only limited by yourown skill level. I only suggested the Category Box Image contribution since you wanted to create an image based menu. You could have created your images and then uploaded them in the admin and osC would have populated your image menu dynamically, as long as you would have installed that contribution. There are several other contributions available that allow you to keep the stock dynamic menu and still be able to easily custimize it at will.

 

Static Menu: means that you have created your own menu and now want to manually link the items on the menu to the categories that you created in the admin. This is not the stock behavior of osCommerce so you have to create the menu as well as establish the links. You would need to familiarize yourself with osC in order to know what the Category ID and Product ID is. This is not a difficult thing to do as you would use the code that I had suggested for linking to categories and products by what the category and product ID is. You can easily find the category and product ID by clicking on these in the admin and viewing the ID in the browser address bar.

 

So....hope the above helped in some way.

Hi Bill,

 

Thanks so much for responding. I have made quite a lot of progress today and this evening. I understand now how to link to the category/product pages using my custom graphic navigation menu. One of the things left that I am still trying to figure out is keeping the home page for the website a separate template from the default index template which the product pages use. Since the "home page" for the website will have specific content and will have a black background it needs to be a separate template. So, right now I am experimenting with how to do that and where to file it and what to name it.

 

Thanks again!! :thumbsup:

Link to comment
Share on other sites

Hello,

 

Not sure if anyone out there has any experience with this. :unsure: Is it possible to use HTML in the product description? In other words, I wanted to add a few line breaks before listing some other details in the description. I also wanted to bold a few words. However, it just defaults to putting that content right after the last sentence.

 

Also, I want to add some track listings and wanted to maybe place them in a table or some other way rather than just listing them vertically.

 

Any guidance is appreciated!!

 

Thank you.

Link to comment
Share on other sites

Hi Bill,

 

Thanks so much for responding. I have made quite a lot of progress today and this evening. I understand now how to link to the category/product pages using my custom graphic navigation menu. One of the things left that I am still trying to figure out is keeping the home page for the website a separate template from the default index template which the product pages use. Since the "home page" for the website will have specific content and will have a black background it needs to be a separate template. So, right now I am experimenting with how to do that and where to file it and what to name it.

 

Thanks again!! :thumbsup:

Make your home page template called index.php_0.html Edited by bkellum

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Hello,

 

Not sure if anyone out there has any experience with this. :unsure: Is it possible to use HTML in the product description? In other words, I wanted to add a few line breaks before listing some other details in the description. I also wanted to bold a few words. However, it just defaults to putting that content right after the last sentence.

 

Also, I want to add some track listings and wanted to maybe place them in a table or some other way rather than just listing them vertically.

 

Any guidance is appreciated!!

 

Thank you.

Yes, you should be able to add HTML to the product descriptions in the admin. You may be interested in installing the TinyMCE WYSIWYG editor. It would allow you to add your content using a MS Word type of editor as well as Image upload capability.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Yes, you should be able to add HTML to the product descriptions in the admin. You may be interested in installing the TinyMCE WYSIWYG editor. It would allow you to add your content using a MS Word type of editor as well as Image upload capability.

 

Fantastic!! Thank you!!!!!! :D

Link to comment
Share on other sites

Thank you sooo much!! You were right on with where to find that code!

:thumbsup:

 

The other remnant of the messed up links for this thread, is that until you find the thread again, and post to it again, and re-check the "notify me" checkbox - you will no longer get any emails from the thread stating that a new message has been posted. My old emails used to send me to "showtopic=204381" where the new ones go to "showtopic=295660". <_<

 

Tracy,

 

The moderator screwed up the links for this thread but has since been corrected. The only remanants of the error is that now none of my "saved" links for specific topics in this thread no longer work. :angry:

 

Oh well....now to your problem....

 

As you know, this is not a STS issue but I will try to help you out (I only mentioned this so as not to confuse any beginners). :-

 

The modifications need to be made in the functions/general.php file.

Find this line:

$sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '+' : '-') : '') . '</a>';

Change to this to get rid of the + and the -:

$sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '' : '') : '') . '</a>';

 

Hope that helped you out,

~Tracy
 

Link to comment
Share on other sites

Ryan, my comments sounded a little rough but they were not meant to be. :blush:

I was just pointing out that image links are usually the culprit when it comes to SSL problems, not any code changes that are implemented by installing STS.

 

I do think that while designing your template, it is probably easier to use absolute links so that you can preview your template. However, these should always be changed over to relative links before uploading to your store. :thumbsup:

 

When someone mentions that they did not have any issues until STS then it implies that STS has some errant code and is to blame. STS, as a osCommerce add-on, has no control of how a user goes about using/abusing the contribution. STS assumes that it is being installed upon solid osCommerce core code and not upon any other add-ons that were not created with other contributions in mind. STS works great with the "properly coded" add-ons available.

 

With that said, I suggest that anyone who has SSL issues, to first look at the code of thier shop. It is most likely due to image or external links which could so happen to be in the STS template that they created.

 

STS out of the box does not have any SSL issues.

 

Hope that helps anyone in the future who may be dealing with SSL issues. :-

 

Hi Bill

I'm having a hard time believing that "STS out of the box does not have any SSL issues." I did find a workaround for the previous problem I had with SSL and images but now have run into a new problem that so far I have not been able to crack. I have made an exact duplicate of the original osc sts store for a wholesale store. I am having

major path problems again with this store. Images are not getting sized correctly because for some reason getimagesize($src) fails, so no width or height is returned. I can print the $src out okay before the getimagesize conditional but then the "if ($image_size = @getimagesize($src))" condition fails and so that block is bypassed.

 

Also, all SSL links in this copy return a 500 internal server error when clicked on. I'm stumped. I am using an ip in the config during development but this was not a problem in the original osc sts store. Also the SSL server is shared so the links are like https://secure2-hosting.net/domain/wholesalecatalog/...but again, that is not a problem in the original catalog. Got any ideas as to why this duplication of a working sts store is failing?

thanks

bopp

Link to comment
Share on other sites

Well - I'm stuck again :blush:

 

I currently have slave products (showing up on their master products page) in a table that looks roughly like this:

 

Model# Description Name Qty Price

123 3 oz bottle Test1 $15.00

 

I want to flip the Description and Name so that Name comes before Description. Now, technically, I should just be able to create a content template for my product_info content - however, with all of the changes and modifications I am not sure how to keep the Qty that I currently have. Under Qty in the table is a text box that you type a number into. When you click on "Add to Cart" button (underneath above table) then the item is added to the cart in the quantity you have entered. I also have Xsell contribution installed, and if you enter a quantity in the Xsell contributions box for a product, and you have a quantity entered for the product above, when you click on Add to Cart it will add both products and their correct quantities to the cart.

 

So - I'm afraid if I try to use the content template I am going to mess up my Add to Cart and Quantity feature that I've got going. In the meantime, however, I can't seem to find anywhere a page that lists the parts of the table in the order they are showing up in :blink: My catalog/product_info.php, catalog/includes/modules/master_listing.php and catalog/includes/modules/master_products.php all have the 'case' settings in order of Model, Name, Description. Any other place I should look for why the table is being created as Model, Description, Name?? :huh:

 

Or - any idea how to create the text box for quantity as a $quantity$ tag that I could use in creating a content template?

 

One would think this should be an easy adjustment - so I've gotta be missing something simple here :blush:

~Tracy
 

Link to comment
Share on other sites

the osc board is not letting me edit again...I wanted to add that the the wholesale store is an exact duplicate of the main store, with the only difference of course being the cookie and catalog directory paths in configure.php.

 

This is really frustrating but I realize there is only so much you can do. Being a programmer I wouldn't have gone this route but I took this store over from someone else.

thanks, bopp

Link to comment
Share on other sites

Ugh - there is a wonderful little bit of code called "asort" that is controlling the order stuff shows up in for this table >_<

 

I can comment out the asort line and all seems to work well, except then my quantity and price columns get reversed to price, quantity. Went back through again, trying to make sure all pages involved have quantity, then price - but to no avail :(

 

So, if anybody out there has implemented the sts_inc/product_info.php with Master Products and SPPC and Xsell and Customer Testimonials (I have boxes from xsell and customer testimonials that I show on my product_info.php page) and would be willing to share their code it would be greatly appreciated!! :blush:

 

Otherwise I'm gonna have to shelf this for now as I've got bigger fish to fry - and then come back to it later on :thumbsup:

 

Thanks :thumbsup:

 

Well - I'm stuck again :blush:

 

I currently have slave products (showing up on their master products page) in a table that looks roughly like this:

 

Model# Description Name Qty Price

123 3 oz bottle Test1 $15.00

 

I want to flip the Description and Name so that Name comes before Description. Now, technically, I should just be able to create a content template for my product_info content - however, with all of the changes and modifications I am not sure how to keep the Qty that I currently have. Under Qty in the table is a text box that you type a number into. When you click on "Add to Cart" button (underneath above table) then the item is added to the cart in the quantity you have entered. I also have Xsell contribution installed, and if you enter a quantity in the Xsell contributions box for a product, and you have a quantity entered for the product above, when you click on Add to Cart it will add both products and their correct quantities to the cart.

 

So - I'm afraid if I try to use the content template I am going to mess up my Add to Cart and Quantity feature that I've got going. In the meantime, however, I can't seem to find anywhere a page that lists the parts of the table in the order they are showing up in :blink: My catalog/product_info.php, catalog/includes/modules/master_listing.php and catalog/includes/modules/master_products.php all have the 'case' settings in order of Model, Name, Description. Any other place I should look for why the table is being created as Model, Description, Name?? :huh:

 

Or - any idea how to create the text box for quantity as a $quantity$ tag that I could use in creating a content template?

 

One would think this should be an easy adjustment - so I've gotta be missing something simple here :blush:

~Tracy
 

Link to comment
Share on other sites

Does anyone know how I can disable or remove the "Buy Now" button on the product pages? I want the price there but just need to remove the Buy Now button? I have been searching but have not found exactly what I need yet. I was looking in product_info.php and also product_new.php but have not been able to figure it out.

 

Thanks!!!

Link to comment
Share on other sites

Does anyone know how I can disable or remove the "Buy Now" button on the product pages? I want the price there but just need to remove the Buy Now button? I have been searching but have not found exactly what I need yet. I was looking in product_info.php and also product_new.php but have not been able to figure it out.

 

Thanks!!!

I think I found it? Looks like I need to remove the code from this file: catalog/includes/modules/product_listing.php

Link to comment
Share on other sites

The other remnant of the messed up links for this thread, is that until you find the thread again, and post to it again, and re-check the "notify me" checkbox - you will no longer get any emails from the thread stating that a new message has been posted. My old emails used to send me to "showtopic=204381" where the new ones go to "showtopic=295660". <_<
Right...I had to change all of the 204381 links to 295660 in order for my bookmarks to work again. I posted the new links on the STS download page since the STS User Manual has the support thread linking to the old 204381 site.

 

Hopefully everyone that needs support will look to the download page to get the updated links. :-

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Does anyone know how I can disable or remove the "Buy Now" button on the product pages? I want the price there but just need to remove the Buy Now button? I have been searching but have not found exactly what I need yet. I was looking in product_info.php and also product_new.php but have not been able to figure it out.

 

Thanks!!!

Lori, take a look at the following link regarding your post:

 

http://www.oscommerce.com/forums/index.php?showtopic=233781

 

Hope that helps you out,

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

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