osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Remove New Products For Month & Where to Put Javascript

This is a discussion on Remove New Products For Month & Where to Put Javascript within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I'd like to remove the New Products For monthname from the main page - I have the infobox turned off ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-20-2007, 10:48 AM
Member
 
Join Date: Apr 2007
Posts: 42
Thanks: 7
Thanked 1 Time in 1 Post
Rep Power: 0
Twister is on a distinguished road
Default Remove New Products For Month & Where to Put Javascript

I'd like to remove the New Products For monthname from the main page - I have the infobox turned off for new items (found in an earlier post) but it has no effect. Is there a clear way to do this?

Also, I need to write a javascript validation routine to make sure all three product options have valid entries and that quantity is greater than some number. Can anyone tell me what module(s) is responsible for these screens - it would probably be best to do the check when the confirm (order) button is pushed during checkout (where quantities can still be altered),

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 04-20-2007, 02:25 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,568
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default Re: Remove New Products For Month & Where to Put Javascript

Funny - when I turn off in the Infobox in the admin "What New" - it does not show up any more.....

Product Attribs checking? As in required?
Maybe this would help or as a starting point: osCommerce: Attribute Sets Plus

And MIN QTY required?
See: osCommerce: Minimum Order Quantity Per Product
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-20-2007, 02:35 PM
Member
 
Join Date: Apr 2007
Posts: 42
Thanks: 7
Thanked 1 Time in 1 Post
Rep Power: 0
Twister is on a distinguished road
Default Re: Remove New Products For Month & Where to Put Javascript

It isn't the box I want to get rid of - that works fine - it's the catalog display of products that stream accross the screen to the right for thousands of pixels! There is a little "more" control that when clicked aligns things just fine 2 by 2 as I want- if that corld be set "on" then hidden I'd be happy!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-20-2007, 02:39 PM
Member
 
Join Date: Apr 2007
Posts: 42
Thanks: 7
Thanked 1 Time in 1 Post
Rep Power: 0
Twister is on a distinguished road
Default Re: Remove New Products For Month & Where to Put Javascript

sorry - the "more control aligns products in a single vertical column - that would wotk fine for my needs if there's a way to set it on and hide it so customers don't mistakenly screw up the page.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 04-20-2007, 02:46 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,568
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default Re: Remove New Products For Month & Where to Put Javascript

Found it - required Attrib: osCommerce: Must Select
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 04-20-2007, 03:05 PM
Member
 
Join Date: Apr 2007
Posts: 42
Thanks: 7
Thanked 1 Time in 1 Post
Rep Power: 0
Twister is on a distinguished road
Default Re: Remove New Products For Month & Where to Put Javascript

...
Maybe this would help or as a starting point: osCommerce: Attribute Sets Plus

And MIN QTY required?
See: osCommerce: Minimum Order Quantity Per Product[/quote]
,,,
I saw the contribution but it isn't what I need - we sell widgets, all sizes colors and shapes - as you check out I don't care how many of which widget styles and colors you buy so long as the total number of widgets in your cart is >= (Integer) - the qty piece is easy - just a single (total) value to test - I just need to know where to find the qty column just prior to checkout (after it can't be changed again) and where to put the javascript function(s).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 04-20-2007, 03:05 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,568
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default Re: Remove New Products For Month & Where to Put Javascript

Quote:
Originally Posted by Twister View Post
sorry - the "more control aligns products in a single vertical column - that would wotk fine for my needs if there's a way to set it on and hide it so customers don't mistakenly screw up the page.
Not sure what you want here - the display work fine and does not go for 1000 of pixels - it behaves as designed. Check your editing. Your customers can't set or change these options - unless your meaning ADMIN users?

Change the label of the option on the admin side - in MySQL. Change "Product Display Type (Default = 0 or Columns = 1)" and "Number of Columns for product listings"
to
"Don't change these options".....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 04-20-2007, 04:27 PM
Member
 
Join Date: Apr 2007
Posts: 42
Thanks: 7
Thanked 1 Time in 1 Post
Rep Power: 0
Twister is on a distinguished road
Default Re: Remove New Products For Month & Where to Put Javascript

Sorry about the communication failure. Wish I could send you an image file - That would be better.

When I start up the cart (url = localhost/catalog/index.php) I get "New products for April" and 3 products displayed in a single row (which goes way beyond the 750px size) and naturally pushes the "right" boxes even further to the right way past the logo.

On the same line (table row?) as "New products for April" is a tiny white arrow (text=more). When this arrow is clicked, the heading changes to "new products" and everything falls back into place as it should be - a single column of products as deep as it needs to be That's why I want to eliminate the "new products for (monthname)" code.

Under admin/Product Listing" I have the following settings:
Product Display Type = 1
Number of columns for product listing = 1

The three accross mess reappears each time you navigate to "catalog". Does this help explain the problen?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 04-20-2007, 06:03 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Remove New Products For Month & Where to Put Javascript

Quote:
Originally Posted by Twister View Post
Sorry about the communication failure. Wish I could send you an image file - That would be better.
If you can do a screenshot, you can attach it to this thread...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 04-20-2007, 06:45 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,568
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default Re: Remove New Products For Month & Where to Put Javascript

Mmmm - why not? Attach an image that is. You can attach a file to messages here......

I think the code that is displaying this is:/includes/modules/new_products.php

Or remove you could:

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

From both index_default.tpl.php and index_nested.tpl.php...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
I want to get rid of new products box for month etc gasketking osCMax v2 Installation issues 0 10-31-2005 07:58 AM
'New Products fro the Month' box disabled if no new products hurst osCMax v2 Installation issues 3 09-16-2005 06:26 AM
How to remove specials for this month in Main page? blum osCMax v1.7 Discussion 2 07-04-2005 04:10 PM
All products showing up in New Products for the Month BuckroeBill osCMax v1.7 General Mods Discussion 0 02-20-2005 10:45 AM
New products for the month problem maxi032 osCommerce 2.2 Modification Help 0 05-28-2003 02:20 AM


All times are GMT -8. The time now is 06:48 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax