AbanteCart Development > Development Help Needed

Create next preview button

(1/8) > >>

maulik 1intl:
Hello sir

                  Nice to use ababtecart  :) :)
                  i need create a button in product page to view product next and preview button where can change image of product.You can see attach image.Also add subscription button where by default selected yes.

maulik 1intl:
I need developer who can do that for me. Thanks 

HADY:
hi!

here is the code:

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
a {
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
}

a:hover {
  background-color: #ddd;
  color: black;
}

.previous {
  background-color: #f1f1f1;
  color: black;
}

.next {
  background-color: #4CAF50;
  color: white;
}

.round {
  border-radius: 50%;
}
</style>
</head>
<body>

<h2>Previous and Next Buttons</h2>

<a href="#" class="previous">&laquo; Previous</a>
<a href="#" class="next">Next &raquo;</a>

<a href="#" class="previous round">&#8249;</a>
<a href="#" class="next round">&#8250;</a>
 
</body>
</html>


you have to know where should be added exactly to make it work.



Note: 
there is 2 kind of samples in the code, you should choose which one is more suitable for you website.


Regards

maulik 1intl:
Thanks for replay but i need to create controller to fetch link for on product page.
I know all product id is display page product/category page.
but need that id also get in page product/product page where i can use id for next and preview button.

Sam_78:
check out this extension
https://marketplace.abantecart.com/lightbox_html5

Navigation

[0] Message Index

[#] Next page

Go to full version
Powered by SMFPacks Social Login Mod