TomatoCart

126540 Downloads
337 users online
TomatoCart Community
Welcome, Guest
Please Login or Register.    Lost Password?

[Solved - Bug - Frontend - Search] Advanced search didn't check the search field
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: [Solved - Bug - Frontend - Search] Advanced search didn't check the search field
#20594
[Solved - Bug - Frontend - Search] Advanced search didn't check the search field 9 Months, 3 Weeks ago  
Hi,

A new found bug - if set the price from greater than price to in the advance search, the system didn't check it and no error message thrown. In this case, i think any js error should be thrown before submitting the values of each search fields to the server.

Is there any solution for this error?
lampsirer

Last Edit: 2012/07/30 09:06 By jack.yin.
The administrator has disabled public write access.
 
#20597
Re:[Bug] Advanced search didn't check the search field 9 Months, 3 Weeks ago Karma: 50
Hi,

This problem has been fixed. Please resolve the issue as follows:

1. Go to templates/glass_gray/content/search/search.php and then find the following line:

-----------------------------------------------------Code----------------------------------------------------------------------

<li><?php echo osc_draw_label($osC_Language->get('field_search_price_to'), 'pto') . osc_draw_input_field('pto'); ?></li>
-----------------------------------------------------Code----------------------------------------------------------------------

Add the following code after the line:
-----------------------------------------------------Code----------------------------------------------------------------------

<li><?php echo osc_draw_label($osC_Language->get('field_search_date_from'), 'datefrom') . osc_draw_date_pull_down_menu('datefrom', null, false, null, null, date('Y') - $osC_Search->getMinYear(), 0); ?></li>
<li><?php echo osc_draw_label($osC_Language->get('field_search_date_to'), 'dateto') . osc_draw_date_pull_down_menu('dateto', null, null, null, null, date('Y') - $osC_Search->getMaxYear(), 0); ?></li>

-----------------------------------------------------Code----------------------------------------------------------------------

2. Download the search.zip

3. Unzip the search.zip and put the search.php into templates/glass_gray/javascript/search.

Done.

Note: Assume that you are using the glass_gray default template, if not, please replace the glass_gray path with your correct template path.

Thanks for your report again.
jack.yin
Jack Yin
Team Member
Posts: 2334
graph
User Offline Click here to see the profile of this user
Gender: Male support@tomatocart.com
---------------------

Jack Yin

Please help us to spread TomatoCart and tell people that you love TomatoCart!

If you are satisfied with TomatoCart, please follow us at @  
Google+
If you find this thread is useful you can share it @  



To keep updating TomatoCart status in future, Like our Facebook, Google+, LinkedIn page or Follow us on Twitter.

.Facebook: www.facebook.com/pages/TomatoCart/241732152589007
.Google+: plus.google.com/109588253708268031594?prsrc=3
.Linkedin: www.linkedin.com/groups?home=&gid=31...8&trk=anet_ug_hm
.Twitter: twitter.com/tomatocart
The administrator has disabled public write access.
 
#20624
Re:[Bug] Advanced search didn't check the search field 9 Months, 3 Weeks ago  
Hi jack,

That's great. It works.

Thank you again.
lampsirer

The administrator has disabled public write access.
 
#20632
Re:[Bug] Advanced search didn't check the search field 9 Months, 3 Weeks ago Karma: 50
Good.
jack.yin
Jack Yin
Team Member
Posts: 2334
graph
User Offline Click here to see the profile of this user
Gender: Male support@tomatocart.com
---------------------

Jack Yin

Please help us to spread TomatoCart and tell people that you love TomatoCart!




To keep updating TomatoCart status in future, Like our Facebook, Google+, LinkedIn page or Follow us on Twitter.

.Facebook: www.facebook.com/pages/TomatoCart/241732152589007
.Google+: plus.google.com/109588253708268031594?prsrc=3
.Linkedin: www.linkedin.com/groups?home=&gid=31...8&trk=anet_ug_hm
.Twitter: twitter.com/tomatocart
The administrator has disabled public write access.
 
Go to top Page: 1

Latest Blog Post

TomatoCart v1.1.7 to v1.1.8 Upgrade Guide!

The upgrade guide is a step-by-step tutorial to help users to upgrade TomatoCart v1.1.7 to v1.1.8. If you have not yet updated to v1.1.7, please review its upgrade guide before applying these changes. [...]

By TomatoCart | august 21, 2012

contact_us

info@tomatocart.com
partner@tomatocart.com
Facebook Google+ Linkedin Twitter

Newsletter Subscription