Post by SilverbackRC » Wed Dec 13, 2017 8:44 pm

Hi all,

I have recently taken over an established opencart store. I need to post up Xmas holiday dates at top of page, to state when no post will be going out.
I am not particularly good with settings and wondered if anyone could talk me through simple steps in laymans terms, to be able to add dates to top of page please. Store is www.silverbackrcproducts.com - I am hoping to put in dates in small white space to right of store name, in the white space.

Thanks for taking the time.

Newbie

Posts

Joined
Wed Dec 13, 2017 8:34 pm

Post by straightlight » Thu Dec 14, 2017 1:52 am

No OC version posted. In catalog/view/theme/<your_theme>/template/common/header.tpl / .twig file.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com contractor officials representative


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by IP_CAM » Thu Dec 14, 2017 2:13 am

You seem to use the 1.5.6.x default theme, so try this VqMod, then, create
a Banner, where your opening hours will be shown, and link it accordingly
in the VqMod. Just to give you an Idea...
Good Luck! ;)
Ernie
---
top_header_banner.xml
---

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<modification>
<id><![CDATA[Add Top Header Banner]]></id>
<version><![CDATA[OS v.1.5.6.5]]></version>
<vqmver><![CDATA[2.4.1]]></vqmver>
<author><![CDATA[Ernie - IP_CAM]]></author>

<file name="catalog/view/theme/*/template/common/header.tpl">
<operation error="log">
<search position="after" index="1"><![CDATA[<div class="container">]]></search>
<add><![CDATA[
<div style="text-align:center;"><a href="http://www.euro-park.ch" target="_blank" title="Adults Only!"> <img alt="Test Banner" title="Test Banner" width="1322" height="146" src="http://jti.li/shop/image/data/1322x146_banner.jpg"></a></div>
]]></add>
</operation>
</file>

</modification>
Image

Attachments

top_header_banner_vqmod.jpg

top_header_banner_vqmod.jpg (99.08 KiB) Viewed 736 times


I'm no longer quite active at the Forum, to reach me, better contact: jti@jacob.ch
My free Opencart LIGHT 1.5.6.5 Code is available on GitHub soon,
a Demoversion of it can be seen in Action here: http://www.bigmax.ch
930+ FREE OC Extension-Repositories - from OC v.1.5.x up, on the
world's largest OC-related Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 26 guests