{% extends 'core/base.html' %}
{% load static %}
{% block title %}{{ subcategory.title }} {% endblock %}

{% block content %}

<script>
    $('body').on('click','.wish',function(){
        var variant_id=$(this).closest('.wishList').find('.variantid').val()
        var product_id=$(this).closest('.wishList').find('.product_id').val()
        var my_token='{{ csrf_token }}'

        $.ajax({
        method:"POST",
        url:"/variant/wishlist/",
        context:this,
        data:{
        "csrfmiddlewaret