Implement guest buy now checkout
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
This commit is contained in:
@@ -106,7 +106,13 @@
|
||||
В корзину
|
||||
</a>
|
||||
{% endif %}
|
||||
<button class="product-summary__button product-summary__button--secondary" type="button">Купить</button>
|
||||
{% if item.is_available %}
|
||||
<a class="product-summary__button product-summary__button--secondary product-summary__button--link" href="{% url 'orders:buy_now' item.id %}">
|
||||
Купить
|
||||
</a>
|
||||
{% else %}
|
||||
<button class="product-summary__button product-summary__button--secondary" type="button" disabled>Купить</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user