Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi All

I've used Jacks contrib but unfortunately there are 5 or so lines of code that I cannot find on my index.php page or product_info page.

Apparently my store is not a standard oscommerce store yet I haven't changed a thing, just simply installed the oscommerce files as per my template monster instructions.

Just wondering if it is the template though cannot understand why.

The contrib asks me to look for the line:

FIND (Around line 78)

 

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

</tr>

 

but all I can see is a code around line 89 in index.php that has <?=HEADING_TITLE?> in it?

 

ie:<table border="0" cellspacing="0" cellpadding="0" width="100%">

<tr>

<td height="44"><span class="tx1">

<?=HEADING_TITLE?>

</span></td>

</tr>

</table>

<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">

<tr>

 

Apparently this causes errors and I need to know how to fix it in order for the contrib to work.

Is anyone able to help?

There are also other 5 other things I cannot find in about line 247 and 298 and in product_info.php I cannot find Line 102 code

Apparently it can be modified but I have no idea how, I would be so greatful for any assistance

Posted

Templatemonster is nortorious for providing hacked up code. You'll probably have other problems as you make more changes.

 

To fix this problem, change this line

<td height="44"><span class="tx1">
<?=HEADING_TITLE?>
</span></td>

to this

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

Creatimg multiple threads on an issue is agianst forum rules, as is posting queries in other un-related threads.

 

Template Monster produce some very bad code, so a bad choice, especially if you wish to mod.

 

Contribs are written for core versions & are rarely compatible with templates.

This forum is for support of core osC versions only, so u will need to get support for your store from the template provider.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

gosh sorry spooks, did you mean I cannot seek support here on oscommerce forums?

 

I added to another thread about the SEO contrib but then was asked to create a NEW thread, that the one I had replied to was for support of a standard store which mine was not. So err I did.

I had no idea that my store was not standard or as you mentioned 'core' as I was told by template monster to simply download/upload the oscommerce file then support would be given via oscommerce forums. I'm afraid I don't know the difference.

I must say that support here has been great so Im saddened to think that the thought is I should be looking elsewhere for support, especially when the template people say it is forumsoscommerce that I will find the support blah

Sadly though no one seems to tell you, you got a lemon until 'after' the purchase <_<

Posted

by the way, thanks Jack for that reply, I performed the change you advised now am too afraid to ask you another question incase spooks growls at me

Posted

Amirage, how did you get on asking for support from Template Monster ? I purchased a template from them as well and need to make quite a few mods and believed that support would be provided via the oscommerce forums. Are we being ripped off somehow? I purchased the template because there is NO WAY I could do something from scratch - assume you are the same ? When I posted a question to Template Monster about a contribution they told me that they don't offer support for that and to come back to the forums.

 

Spooks - what do you suggest people like us do ?

Posted

the said template, from what i have seen, "weaves" the template code into the code in the body part of each php files. so if you are looking for line numbers and dont understand php code then chances are you wont find the code the contribution(s) referring to, and you might have to ask a professional coder to make the mod for you.

the osc forums offer support for oscommerce and its contributions but NOT for templates from commercial template makers, which is why people here are reluctant to answer any question related to these templates. commercial template makers have, or are expected to have, a duty to offer support for their products.

btw, Amirage has solved her problem HERE

 

Good luck!

 

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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