Ok, I am going to be extending outside my comfort zone, lol.
I need to learn php so this is the best way to start “to start” lol.
I am using Joomla for my website and going to be using magento for my store. “I am not creating a bridge or anything complex “atleast not yet” There is a bridge with Jfusion however only with Magento 1.0
I guess to sum it up, I want to copy the php in header and put that php on my joomla site.
I hope what I want to accomplish is possible.
On the joomla website I simply want the links such as my cart, checkout, login etc to connect with the magento website
Here is code I have come up with so far from looking at websites etc.
<a href=’http://www.instockdiecast.com/m/customer/account/’>My Accont</a>
<a href=’http://www.instockdiecast.com/m/wishlist/’>My Wishlist</a> <a href="http://www.instockdiecast.com/m/checkout/cart/">My Cart</a> <a href="http://www.instockdiecast.com/m/checkout/cart/">Checkout</a>
if(isset($_SESSION['username']) && $_SESSION['username']!="")
echo("<a href='http://www.instockdiecast.com/m/customer/account/logout//'>Logout</a> ");
echo($_SESSION['username']);// displays username
echo("<a href='http://www.instockdiecast.com/m/customer/account/login/'>Login</a> ");