Author Topic: Embed Product and shopping cart in my website (can´t do it... need help m8s)  (Read 230 times)

Offline coolmonk

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Hello!
I followed the instructions carefully in the tutorial on how to embed a product and the shopping cart for an HTML5 / CSS page, but I can not get it to work!

In an online website (but hidden in a folder), I'm trying to put a product in the <div> where I had a photo ... (Because I need to keep my design unchanged, I want to replace the existing photos with previously created products in Abantecart) and give them the product function to be purchased, but ... Nothing happens, with the embed code my existing photo disappears but the product "abantecart" does not appear and also the shopping cart does not appear.

I think it would be useful also for future followers of Abantecart to see a more detailed tutorial on how to do ...

1 - For example, I do not know where in my html I should put the embedded code of the shopping cart.

2- Do I have to create a javascript file and code to get this to work?

Please, if anyone can help me on how to make this work..., I would be very grateful and I think it will be very useful for more fans of Abantecart with same problems.... Thank you ... Keep the good Work!

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1596
  • Karma: +92/-1
    • View Profile
Welcome to AbanteCart forum coolmonk!

To answer your questions
1. You can put HTML in the place you like product to be shown.
2. no. You just copy paste the HTML code that you get from admin

You can share the link to the page you try to build with embed, so we can check
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline coolmonk

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
hi, ty for rapid reply...

(i'm not authorized by forum rules to put external links so...) ...and i remember i did none coding in js or jquery

the link is: http(doubledots)slash slash  mygoji(dot)pt/devstore/portfolio(dot)html

mauby i messed up with my own llinks in the embbed code


It is possible the problem is because css "z-index" in other divs???

Please reply, i need to make this work... i just have 4 more days... TY in adavance
« Last Edit: August 12, 2018, 09:46:37 PM by coolmonk »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3724
  • Karma: +184/-0
    • View Profile
Your page is not available https://mygoji.pt/devstore/portfolio.html

Check if you have some js errors in your browser console https://developers.google.com/web/tools/chrome-devtools/console/
“Chuck Norris is so amazing.”
― Mother Teresa

Offline coolmonk

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
hi, ty for the reply... unfortunately i decided to try another solution because of lack of time... and because of that link is not available...
but for future projects abantecart will be in my primary choices. I think admin is amazing well done and very user-friendly.

Still think, abantecart team may improve on give more accurate information on how to do the embed, more like telling if it is needed to embed also the shopping cart embed code (how to do it and where to put it in hltm5 for bootstrap websites) and also the manner how is explaining in the tutorial, the changing of links in the embed code, is a little bit confusing, perhaps just for me ( i don't know).

In my case i was trying to implement the embed code in the place of photos of a gallery, my plan was to put embed code of products created on abantecart admin, and replace the pre-existing photos in a gallery of the pre-existing bootstrap website, and then edit the css of the embed products for maintaining the same design I have before.


Offline coolmonk

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Hi again!

Just Abantecart can do what I'm looking for...

I already make the embed of a product, but, as related before... the shop cart icon and the modal cart are not showing in my page!
When I refresh the page the shop cart icon appears and disappears after some milliseconds...

Please see the link, and give me a clue how to solve this please:

http      //mygoji.pt/store/portfolio.html

Thank you in advance!

Offline coolmonk

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
I tried the option "open in the same window" and for this option, the embed code is functioning!

Why the embed code with the option "same page-modal dialog" doesn't work in my website??

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3724
  • Karma: +184/-0
    • View Profile
Hi.
Are you sure you do not change anything in embed code? I see 404 errors 
http://mygoji.pt/loja/?rt=r/embed/js/cart&language=en&currency=EUR 404 (Not Found)

Where AbanteCart store installed?
“Chuck Norris is so amazing.”
― Mother Teresa