Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Would like to move the 'Add to Basket' button to the Category view, as I dont want a product detail page and have no variants!
So have this which sits on the product page:
<input id="add-to-basket" class="btn btn-block disabled" type="submit" value="Add to basket" name="add-to-basket">
Sitting here:
<p class="btn-group view-details"><a class="btn" href="@url">View more<span><i class="icon-shopping-cart icon-white"></i></span></a></p>
I'm using the Razor Store... any help much appriciated ;)
At the end of the day the add to basket button is a Javascript call so moving is not a problem. You just need to include and trigger the same JS from the category page.
The technique we ended up using was adding '?item-added=true'.
Do you have a detailed breakdown for this.
We managed to replicate the button but it kept adding the first item in the list irrespective of the link chosen
Thanks
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Buy Now button in the Category View
Would like to move the 'Add to Basket' button to the Category view, as I dont want a product detail page and have no variants!
So have this which sits on the product page:
<input id="add-to-basket" class="btn btn-block disabled" type="submit" value="Add to basket" name="add-to-basket">
Sitting here:
<p class="btn-group view-details">
<a class="btn" href="@url">View more<span><i class="icon-shopping-cart icon-white"></i></span></a>
</p>
I'm using the Razor Store... any help much appriciated ;)
At the end of the day the add to basket button is a Javascript call so moving is not a problem. You just need to include and trigger the same JS from the category page.
The technique we ended up using was adding '?item-added=true'.
Do you have a detailed breakdown for this.
We managed to replicate the button but it kept adding the first item in the list irrespective of the link chosen
Thanks
is working on a reply...