osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Products Extra Fields

This is a discussion on Products Extra Fields within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I am modifying the 'Product Extra Fields' contribution, and despite the fact I modified catalog.php in catalog\admin\includes\boxes\catalog.php and english.php in ...


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
Reply

 

LinkBack Thread Tools
  #1  
Old 06-13-2008, 08:10 AM
osCMax Testing Team
 
Join Date: Oct 2003
Posts: 52
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
icecold
Default Products Extra Fields

I am modifying the 'Product Extra Fields' contribution, and despite the fact I modified catalog.php in catalog\admin\includes\boxes\catalog.php and english.php in
catalog\admin\includes\languages\english.php, I am still not able to see the entry in the Catalog box ...

I order to be complaint with Admin w/access levels, I modified the contribution's and replaced>>>

'<a href="' . tep_href_link(FILENAME_PRODUCTS_EXTRA_FIELDS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXTRA_FIELDS . '</a>');

with

tep_admin_files_boxes(FILENAME_PRODUCTS_EXTRA_FIEL DS, BOX_CATALOG_PRODUCTS_EXTRA_FIELDS)

in catalog.php

Then I added >>>

// START: Product Extra Fields
define('BOX_CATALOG_PRODUCTS_EXTRA_FIELDS', 'Product Extra Fields');
// END: Product Extra Fields

in english.php //catalog\admin\includes\languages\english.php

Unfortunately I was not able to see the new entry in the Catalog box.
So please let me know if there is something missing or I have to modify something else in order to display the new entry.

thanx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 06-13-2008, 08:52 AM
osCMax Testing Team
 
Join Date: Oct 2003
Posts: 52
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
icecold
Default Re: Products Extra Fields

BTW
When I posted there was a typo, as the correct way was actually the one used in catalog.php

tep_admin_files_boxes(FILENAME_PRODUCTS_EXTRA_FIEL DS, BOX_CATALOG_PRODUCTS_EXTRA_FIELDS)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 06-13-2008, 04:23 PM
osCMax Testing Team
 
Join Date: Oct 2003
Posts: 52
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
icecold
Default Re: Products Extra Fields

Fixed, but I still have a permissions problem, I forgot to modify index.php and add the entry.
I did it and it worked the problem is when I click the link displays:

Access Denied
No Right Permission Access
Please contact your Web Administrator to request
more access or if you found any problem.

I couldn't figure out what's wrong with permissions as the files have 0644 ... so if anyone can give me a hint, it will be really helpful.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 06-13-2008, 07:35 PM
osCMax Testing Team
 
Join Date: Oct 2003
Posts: 52
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
icecold
Default Permissions Problem solved

After too much hassle I figured out by myself the problem was in file access, and as a long time OSCMaX 1.7 user, I was not aware of.

It was easily solved by selecting the file using file access and the contrib started working ... although I still need to figure out why it doesn't show the added fields in Advanced Search ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 06-15-2008, 10:18 AM
osCMax Testing Team
 
Join Date: Oct 2003
Posts: 52
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
icecold
Default Re: Products Extra Fields

Advanced Search uses a template, at first I thought it will be auto generated, because it looks it calls an array, but after a quick look I found I had to manually modify the file and the dependent file javascript code in order to make them work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

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
Product Extra Fields michael_s New osCommerce Contributions 0 11-25-2007 08:00 PM
Customers extra fields michael_s New osCommerce Contributions 0 10-15-2007 05:04 AM
Product Extra Fields michael_s New osCommerce Contributions 0 02-07-2007 02:50 PM
Product Extra Fields michael_s New osCommerce Contributions 0 01-25-2007 10:51 AM
How to add extra fields on products! anil osCMax v1.7 Discussion 4 03-26-2005 12:07 PM


All times are GMT -8. The time now is 02:20 AM.


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