Opencart Multi-store 1.5.6 shared session - session

I've got a opencart multi-store, though the shared session doesn't work for me.
When i put a item in my cart from store1.com it will not appear on store2.com...
My multistore looks like this, so with different domains.
store1.com
store2.com
In my main store1.com header its got differtent iframe's:
<iframe src="http://www.store1.com/catalog/view/javascript/crossdomain.php?session_id=95e5c425bc5df1ecff3406eb0f587018" style="display: none;"></iframe>
<iframe src="http://www.store2.com/catalog/view/javascript/crossdomain.php?session_id=95e5c425bc5df1ecff3406eb0f587018" style="display: none;"></iframe>
I see in my header of store2 that its got 2 the same iframe's:
<iframe src="http://www.store2.com/catalog/view/javascript/crossdomain.php?session_id=95e5c425bc5df1ecff3406eb0f587018" style="display: none;"></iframe>
<iframe src="http://www.store2.com/catalog/view/javascript/crossdomain.php?session_id=95e5c425bc5df1ecff3406eb0f587018" style="display: none;"></iframe>
Does anybody knows what the problem could be?
Thank you very much!
Kind regards,
Bram
#shadyyx yes the store2.com is pointed to the main store1.com. though i copied the templates and used one for the store1.com and the other one for store2.com.
store1.com: goo.gl/4ZekFU
store2.com: goo.gl/SWaZ1R

Related

Make entire div clickable

I am trying to get the whole div clickable and this works but only with a straight link to another site. Is there a way to make it work with this text in it also:
<div class='reddit' title='Share Us On Reddit' onclick="window.open('http://www.reddit.com/submit?url=httpsFwww.example.com&title=XXX is Cape Breton's Homepage. Start Your Web Search With Beautiful Cape Breton Island')">
Thanks
From CSS Tricks
This probably isn't a thing you need to rely on JavaScript for
anymore. Since HTML5, this is perfectly valid:
<a href="http://example.com">
<div>
anything
</div>
</a>
And remember you can make links display: block; so sometimes you
don't even need the div.
<div style="cursor:pointer" onclick="document.location='evenidontknow-page.html'">
<h2>Full Div Clickable</h2>
</div
The above code helped me very well, and this will not require any extra code.
Using a tag may solve the problem but we need to add extra code to it.
please check this link for more info w3schools
Bootstrap has a feature called "Stretched Link". From the documentation:
Make any HTML element or Bootstrap component clickable by “stretching” a nested link via CSS.
You can read more by visiting the following link:
https://getbootstrap.com/docs/4.4/utilities/stretched-link/

Material Design Lite buttons on Joomla 3.x

I'm attempting to add the buttons from Material Design Lite (http://www.getmdl.io/) to a Joomla 3.x site.
I followed the directions to the best of my ability and the output I get is not getting the styling.
I attempted to thoroughly document my attempt on this page: http://www.cherokeecollisioncenter.com/sandbox
All help is greatly appreciated.
Here is the correct answer for buttons that take a couple common local business mobile actions:
**<p style="text-align: center;"><button class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored" onclick="location.href='tel:1234567890'"><i class="material-icons">call</i> </button><button class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored" style="margin-left: 10%; margin-right: 10%;" onclick="location.href='//www.google.com/maps/dir//remaining-portion-of-link-to-directions'"><i class="material-icons">directions</i> </button><button class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored" onclick="location.href='mailto:info#example.com'"><i class="material-icons">mail</i> </button>
</p>**
You must also include the two CSS style sheets and the JS script file in the head of each page. In my case the hosted CSS overrode some of my site settings and I had to override them again.
The styling looks pretty much right to me... what exactly are you trying to achieve? Do you have a mockup? Have you cleared your cache?
If you're using these on mobile and you want them to float over the page you're going to have to set the CSS style position property to fixed. You can change the icon by replacing "add" with the name of any icon on the material icons page: https://www.google.com/design/icons/
A floating home button would probably look something like this:
<button class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored" style="position:fixed; right:10px; bottom:10px;"><i class="material-icons">home</i> </button>

Navbar not initializing in kendo ui mobile webpage

for some reason this navbar is not rendering correctly on the browser :
<header data-role="header">
<div id="navbar-personalize" data-role="navbar" class="my-navbar">
<div data-align="left">
<img src="../../Images/dashboard6.png" alt="Dashboard"/>
</div>
<span data-role="view-title">Cart Summary</span>
<div data-align="right">
<a href="#merchandise-otherorders-view">
<img src="../../Images/whoelse6.png" alt="Who else is going?"/>
</a>
</div>
</div>
</header>
I have other navbars just like this one all around my index file, and they all work fine, except for this one. It seems that KendoUI isn't initializing it all. By inspecting the code I can see that it's missing all of kendo's styling (like "km-navbar" and such).
It may have to do with the fact that I'm defining this header in each one of the views inside the file, instead of defining it in the app layout, but for some reason defining it inside the app layout doesn't work for me, it simply doesn't render at all.
I'm out of ideas, can somebody help me?
Thanks
I had this problem today. Make sure that kendo.mobile.min.js is included on your page. The docs don't say to put it in, but adding that made it work for me.

Adblock Plus for Chrome blocking links in H3 but not H2 - Any way around that?

I have a site where Adblock Plus for Chrome is blocking links in H3 but not H2 elements. It seems strange I could just change them to H2 and it would work. But I have a lot of sites that have this potential issue. Is there a way way around that issue?
Why would H3 be an ad threat but not H2?
Here is some test code of this in action:
<div id="topCenterBlock">
<h3>A test headline </h3>
<div class="source">Stack Overflow</div>
<br>
<div class="source"> 2:30 P.M. ET </div>
<p>Test view of a extract from the article that would display under a link</p>
</div>
They would only be the default from install. I only installed the product so I could see the behavior, which one of our users complained about. I can get a snap later to show but it's just the set out of the box.

My pictures won't load in articles in joomla Version 1.5.26

I have added a picture to my webpage here http://www.backpacks4aussiekids.com.au/Home.html and it works just fine, but when I tried the same thing in an article here http://www.backpacks4aussiekids.com.au/Articles/what-is-needed.html the pix won't load, even though I followed the same proceedure.
I even tried changing the pix from .jpg to .png and back again. The only way the changes can be viewed is if I clear my site and browser cache before I attempt to view the site.
All the text is able to be viewed but there are either empty boxes where the pix should be or nothing at all.
thanks in advance, des
The image definitely exists as I have checked.
The reason why it's not showing is because the picture on the homepage is within an <img> tag where as the picture on the second link you provided is for some reason within an <input> tag as shown below:
<input type="image" style="width: 511px; height: 684px; float: left;" src="http://backpacks4aussiekids.com.au/images/what we need now/clipboard 1.png" alt="">
Open the article in the article manager, click on the little html button which will open a window, find the code above and change to the following:
<img style="width: 511px; height: 684px; float: left;" src="http://backpacks4aussiekids.com.au/images/what we need now/clipboard 1.png" alt="" />
Hope this helps

Resources