Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

XCart 5 Use an Image Map for add to Cart
 
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 03-08-2018, 02:58 PM
 
jmiranda jmiranda is offline
 

Newbie
  
Join Date: Jan 2018
Posts: 2
 

Default XCart 5 Use an Image Map for add to Cart

We sell RC Car and parts for the cars. We have exploded views of the Cars. I have made image maps with links to all the parts.
Two Question.

1) If I put the Images and Maps in a static pages is there anyway to have a click on the hotspots do an add to cart? preferably without a page reload.

2) In Xcart 4 the Image Maps would work in static pages and I could click hotspots and get product pages to load and do add from the product pages. It was clumsy but worked. In Xcart 5 only the first hotspot works and Xcart 5 is resizing my Image which Xcart 4 left alone.

Any help would be appreciated.
__________________
X-Cart
Business 5.3.4.4
asia.serpent.com
Reply With Quote
  #2  
Old 03-26-2018, 12:52 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 5,923
 

Default Re: XCart 5 Use an Image Map for add to Cart

Quote:
Originally Posted by jmiranda
1) If I put the Images and Maps in a static pages is there anyway to have a click on the hotspots do an add to cart?

Yes, it is possible to form an URL that would add a product to cart:
https://kb.x-cart.com/integrating_yo...t_via_url.html

Quote:
Originally Posted by jmiranda
preferably without a page reload.

Technically, this is possible, but is likely to be implemented as a custom module - you need a JavaScript code that would look through the image map and assign custom click handlers.


Quote:
Originally Posted by jmiranda
In Xcart 5 only the first hotspot works

I need to check the page URL to see why it works this way.

Quote:
Originally Posted by jmiranda
and Xcart 5 is resizing my Image which Xcart 4 left alone.

Yes, X-Cart 5 resizes many images in order to reduce the bandwidth usage. However, it depends on where the image is displayed and how it was uploaded.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 03-26-2018, 02:44 AM
 
xim xim is offline
 

X-Cart team
  
Join Date: Nov 2004
Posts: 627
 

Default Re: XCart 5 Use an Image Map for add to Cart

review this addon: https://market.x-cart.com/addons/showroom.html
__________________
Sincerely yours, Max Vydrin
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:29 AM.

   

 
X-Cart forums © 2001-2018