Author Topic: Embed cart icon in the navigation bar  (Read 44 times)

Offline eslamsidereel

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Embed cart icon in the navigation bar
« on: October 17, 2020, 08:22:11 AM »
I already know how to embed a product through the embed button page; what I am trying to achieve is embedding the cart icon itself so that it become visible all the time in the navigation bar on top of the page. Is there a way to achieve this?


Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4251
  • Karma: +278/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Embed cart icon in the navigation bar
« Reply #1 on: October 17, 2020, 09:16:45 PM »
The shopping bag icon would show automatically on the page with embedded product from AbanteCart.  It will be visible after you add at least one product to the cart.
You can edit the JavaScript code to show it all the time.

This code is this file:
https://github.com/abantecart/abantecart-src/blob/a9df918cee40cc7f32e68ee136a683dc30632f5c/public_html/storefront/view/default/template/embed/js_cart.tpl
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod