Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9197177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:00:57+00:00 2026-06-17T22:00:57+00:00

I want to make a relatively simple modification to OpenCart so that if there

  • 0

I want to make a relatively simple modification to OpenCart so that if there are no Special Offers available, or applicable, that the title Special Offers does not display.

If none are available or applicable, currently it will display the heading title on a coloured background which looks odd if there are no special offers to show.

I am guessing the modification needs to be made to /catalog/controller/module/special.php and would be something like.

If special offers > 0 then do this
  else
Don't do anything

But I am not sure how to implement this.

I’d be grateful if someone could advise.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:00:58+00:00Added an answer on June 17, 2026 at 10:00 pm

    Not entirely sure what you are referring to here, but you would be best editing the template not the controller file and using

    <?php if($products) { echo $heading_title; } ?>
    

    in place of what is there currently – something like just <?php echo $heading_title; ?>

    Also you may find the title is surrounded by <h1> or <h2> tags. If so, just do the same but around the tags, something like

    <?php if($products): ?>
    <h2><?php echo $heading_title; ?></h2>
    <?php endif; ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a relatively simple question but I want to make sure I am
Let's say I want make some of my sources publicly available via my blog
I am relatively new to php. There is a very basic thing that has
I have a relatively simple goal: I want to create a Cocoa application which
What I want to do is relatively simple: I have 3 tables on my
I'm working on a relatively simple Android app. I want it to have an
I have a relatively simple case. I basically want to store data about links
I've got a relatively simple Rails app that takes a form with nested params
I have around 10k video streams that I want to monitor. There's going to
I understand that using TRUNCATE is a minimally logged operation and does not log

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.