Author Topic: Embed cart icon in the navigation bar  (Read 5136 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: 4358
  • Karma: +298/-10
    • 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

Offline realra12

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
    • facturarticket
Re: Embed cart icon in the navigation bar
« Reply #2 on: August 07, 2021, 04:28:05 PM »
Will there be any additional way? It didn't work for me.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5753
  • Karma: +273/-2
    • View Profile
Re: Embed cart icon in the navigation bar
« Reply #3 on: August 09, 2021, 01:10:12 AM »

 

Powered by SMFPacks Social Login Mod