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

Sorry, you do not have permission to ask a question, 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

Journal-Community

Journal-Community Logo Journal-Community Logo

Journal-Community Navigation

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

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Blog
  • Contact Us
Home/ Questions/Q 1985
Next
In Process
krevin_latt
  • 0
krevin_lattBegginer
Asked: December 11, 20242024-12-11T17:11:52+00:00 2024-12-11T17:11:52+00:00In: Design and Customization

Changes to product page not showing. Journal 3. OC. 3.0.3.3

  • 0

Hi, Just want to check I’m editing the right page – I need to include an additional <div> element for a particular product, so I’m editing product.twig to check that it works before commiting to an ocmod. However, any changes I’m making are not showing on the front end. I just want to add a bit of code that adds a div element after the wishlist button on one particular product. I’m editing catalog/view/theme/journal3/template/product/product.twig. I’d assumed that this was the correct file. I’ve edited the category.twig file under the same directory with no problem. Any help would be appreciated. Is this the right file? Or is there a reason due to Journal 3 config that is stopping changes being saved? TIA

  • 2 2 Answers
  • 22 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

2 Answers

  • Voted
  • Oldest
  • Recent
  • Random
  1. admin Enlightened
    2024-12-11T17:12:56+00:00Added an answer on December 11, 2024 at 5:12 pm

    Here’s a step-by-step guide to help you troubleshoot and resolve the issue of changes not reflecting on the product page in OpenCart with the Journal 3 theme:


    Step 1: Confirm You Are Editing the Correct File

    The first step is to ensure you’re editing the right file. In Journal 3, the product page template is typically located at:
    catalog/view/theme/journal3/template/product/product.twig.

    Since you’ve successfully edited category.twig in the same directory, it’s likely this is the correct file for the product page. However, double-check that:

    1. The Journal 3 theme is your active theme.
    2. No other modifications (like OCMOD or VQMOD) are overriding this file.

    Step 2: Clear the Journal 3 Cache

    Journal 3 has its own caching system, which often causes changes not to reflect immediately. To resolve this:

    1. Go to your OpenCart admin panel.
    2. Navigate to Journal > System > Cache.
    3. Clear the cache completely.

    Additionally, clear your browser cache or test in an incognito window to rule out browser-level caching.


    Step 3: Clear OpenCart Cache

    OpenCart itself maintains a separate caching system. After editing the .twig file:

    1. In your admin panel, go to Dashboard > Developer Settings (gear icon at the top).
    2. Click Clear Theme Cache and Clear SASS Cache.

    Step 4: Check for Modifications (OCMOD or VQMOD)

    If there are any modifications in place, they might be overriding your changes to the product.twig file.

    1. Navigate to Extensions > Modifications.
    2. Review the list for any modifications related to the product template.
    3. Click Refresh after making any changes or disabling modifications.

    Step 5: Review Journal 3 Settings

    Journal 3 theme includes extensive customization options that might interfere with .twig edits. To check:

    1. Go to Journal > Theme Editor > Product Page.
    2. Look for any settings or custom HTML blocks controlling the wishlist button’s placement.
    3. Adjust or disable them if they conflict with your manual edits.

    Step 6: Target a Specific Product

    If your changes involve adding the <div> element for one particular product, you’ll need to use a conditional in the .twig file. For example:

    {% if product.product_id == '123' %}
        <div>Custom Content Here</div>
    {% endif %}
    

    Replace '123' with the ID of the product you’re targeting.


    Step 7: Enable Debug Mode to Verify the Loaded File

    To ensure the correct .twig file is being used:

    1. Open the index.php file in your OpenCart root directory.
    2. Add the following line after the opening PHP tag:
      define('DEBUG_MODE', true);
      
    3. Reload the product page, and check the debug comments to confirm which file is rendering.

    Step 8: Test and Finalize with an OCMOD

    After confirming your changes work as expected:

    1. Wrap your changes in an OCMOD script (XML format).
    2. Upload it via Extensions > Modifications in the admin panel.
    3. Refresh the modification cache.

    Step 9: Contact an Expert for Premium Support

    If the issue persists, or you’d like professional assistance, reach out to specialists:

    • Journal Community Support – for help with Journal 3.
    • Dedicated OpenCart Developers – for in-depth customization.

    Feel free to reach out if you have more questions! we are here to help. 😊

    • 0
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 320
  • Answers 320
  • Best Answer 1
  • Users 114
  • Popular
  • Answers
  • itlaboni

    OpenCart Admin Login Page Keeps Refreshing (Cannot Log In)

    • 2 Answers
  • itrashel

    Mobile Responsiveness Issue with OpenCart Journal Theme

    • 1 Answer
  • itrashel

    OpenCart Journal Theme Slideshow Not Working

    • 1 Answer
  • admin
    admin added an answer 1. Clear Browser Cache & Cookies Open OpenCart admin in… February 7, 2025 at 2:27 pm
  • admin
    admin added an answer 1. Clear Browser Cookies & Cache Open OpenCart admin in… February 7, 2025 at 2:23 pm
  • admin
    admin added an answer 1. Enable Error Reporting to See the Actual Issue Open… February 6, 2025 at 2:06 pm

Related Questions

  • Footer Not Displaying Correctly in Journal Theme

    • 2 Answers
  • Issues with Journal Theme Image Slider Not Displaying Correctly

    • 2 Answers
  • OpenCart Journal Theme Footer Not Displaying Properly

    • 2 Answers
  • OpenCart Journal Theme Color Customization Issue

    • 1 Answer
  • OpenCart Journal Theme Color Scheme Not Updating

    • 1 Answer

Top Members

itlaboni

itlaboni

  • 284 Questions
  • 355 Points
Enlightened
admin

admin

  • 26 Questions
  • 320 Points
Enlightened
itrashel

itrashel

  • 8 Questions
  • 38 Points
Begginer

Trending Tags

checkout button issue checkout process issues e-commerce functionality issues front-end display issues frontend functionality frontend problems functionality problems mobile responsiveness issue mobile responsiveness issues navigation issues navigation problem navigation problems opencart journal theme performance issues product image display issue product image loading issue slider image display issue slow page loading user experience problems user interface problems

Explore

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

Footer

Journal-Community

Journal Community: Empowering OpenCrt Users with Advanced Solutions. Join our vibrant community to unlock the full potential of the best-selling theme. Get expert guidance, personalized support, and collaborative problem-solving for elevated OpenCrt experts.

About Us

  • About Us
  • Contact Us
  • Meet The Team

Legal Stuff

  • Privacy Policy
  • Terms & Condition
  • FAQs

Help

  • Knowledge Base
  • Support

Follow