This is a discussion on Default Image Mod - String not found in osCMax within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I have been at this link posted in the fourms. http://www.oscmax.com/forums/new-osc...ult-image.html I have downloaded and read the mod, there are ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I have been at this link posted in the fourms. Display Default Image I have downloaded and read the mod, there are (4) files, (3 of them in includes for languages.... I have also done a "exact search" for the phrase of: tep_not_null and it does not exist. I am wondering if anyone else has had this problem? Or, in osCMax 2.x, do I need to do something different please in order to have a default image image used? In fact, I really do not images at all for what I trying to do with this catalog install, and maybe there is just a way to easily turn it off...so that an image is not required during entry...or displayed at all in the catalog? Thank-you, |
|
#2
| ||||
| ||||
| That is not for osCMax, but standard osCommerce so the instructions will not be correct for osCMax. Note it is posted in the osCommerce forum, not any osCMax specific forum. To get it working with osCMax, you need to take into account that osCMax uses a template system. Look in your template product_info.tpl.php. There it is on line 90 of that file: PHP Code: ---------------------------------------- Find 'if (tep_not_null($product_info['products_image']))' in '\catalog\templates\fallback\content\product_info. tpl.php' : \catalog\templates\fallback\content\product_info.t pl.php(90): if (tep_not_null($product_info['products_image'])) { Found 'if (tep_not_null($product_info['products_image']))' 1 time(s). ---------------------------------------- Find 'if (tep_not_null($product_info['products_image']))' in '\catalog\templates\fallback\content\product_revie ws.tpl.php' : \catalog\templates\fallback\content\product_review s.tpl.php(117): if (tep_not_null($product_info['products_image'])) { Found 'if (tep_not_null($product_info['products_image']))' 1 time(s). ---------------------------------------- Find 'if (tep_not_null($product_info['products_image']))' in '\catalog\templates\fallback\content\product_revie ws_write.tpl.php' : \catalog\templates\fallback\content\product_review s_write.tpl.php(74): if (tep_not_null($product_info['products_image'])) { Found 'if (tep_not_null($product_info['products_image']))' 1 time(s). Search complete, found 'if (tep_not_null($product_info['products_image']))' 3 time(s). (3 files.)
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
|
#3
| |||
| |||
| Micahel, thank-you very much for the reply. I had first just done the search in just the (4) product_info.php of the expression in the files.. I keep forgetting about the templates...etc... Thx again!! Jim PS.. Have you ever ran across a mod where I would be able to just create my a from (outside of the admin section) so that I may "let" logged in "cusotmers-clients" go ahead and enter an item, by selecting first: 1) Category (then select from a drop down), in which they may then enter it themselves? In effect, what I really would like to do...is that "if" a customer has an item, they would like to sell...for me to supply a form to them...they enter the details...without having to have to manually create a "locked down" Admin user for them to have access to do something like this. I have (2) Instances (things) of what I would like to do with the core osCMax. As the ultimate goal would be similar to something like "EBAY", in which a user...entering/viewing (but they must be registered-logged in etc) could get rid of "their crap" (laugh).. How it would work, it would have to take into consideration a "customer type" which by default is retail, and then once I verify them manully (by telephone or e-amil) to make sure they are legit, I could then manually assign them to (for now, I will use affiliate as the WORD).. And then? Well, beacuse I already have a "type" (affiliate), I would like to "recode" the selling price to a percentage (my personal cut of their item etc) and then "whoever" purchases this item.. I get my $$$ Then? What happens is, that the "company or person" that "listed the item" is e-mailed of the sale, and then "both entities" are passed Contact Data ( and also e-mailed) about the the transaction...etc... ( so, no shipping stuff needed either really) (smile).. Think outside the box brother!! (laugh) As let's face it, everyone and their brother (nowadays) has carts. Me ?? Well, not knocking this...(osCMax) but I use CS-Cart for doing run of the mill carts, as for the $165.00 I pay for it..(and then the mods/defaults) are pretty much ALL in the Database... it's so much fater, than searching thru a boatload of files...making sure IT IS the proper one etc...and makes the proper change to "only" the one needed. The other thing? (again) for "outside the box" thinking (that could benefit you!!) Is to use this "core" for a reservation system also. Just some thoughts, as then you'd have a product "you could encrypt-sell-lock to a doamin" etc...and stash a little CASH into your childs College Education fun...( hahaha ) Jim |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Display Default Image | michael_s | New osCommerce Contributions | 0 | 12-11-2007 09:22 AM |
| change default image directories | michael_s | New osCommerce Contributions | 0 | 06-13-2007 06:23 AM |
| Found a Guestbook that works in oscmax | spottedhaggis | osCMax v2 Customization/Mods | 9 | 05-07-2006 08:14 PM |
| let's see what we have here image not found | info@ | osCommerce 2.2 Modification Help | 1 | 07-05-2005 02:33 AM |
| Size thumbnail image space dynamically if not found | NickW | osCommerce 2.2 Modification Help | 0 | 01-16-2004 03:04 AM |