Chuyển Call To Action thành ATC or Buy now button
Last updated
Last updated
Trong landing page khách thường có yêu cầu là link button tới cart page or checkout page. Thì sẽ hướng dẫn cho khách đổi từ Call to action button thành Add to cart button or buy now button như sau: Thêm link như này cho Call to action button: - Để khi click vào button thì add 1 product vào cart và link đến cart page: /cart/add/id - Click sẽ add product vào cart và link đến Checkout page: /cart/id:1 Ví dụ:
Nếu product có nhiều variant, các bạn có thể hỏi khách xem khách muốn add variant nào vào cart khi click button. Thường thì trường hợp này nên nói cho khách hiểu là vì product có nhiều variant nên là nên để button link đến product detail để user chọn variant, chứ không nên add 1 variant bất kỳ vào. Hỏi xong nếu khách vẫn muốn add variant nào đó thì các bạn chọn variant mà khách muốn add, sau khi chọn thì trên page url sẽ show 1 đoạn variant=233232354, thì copy đoạn mã đấy chính là id.
Trường hợp là simple product không có variant thì thêm .json vào cuối product url để lấy id.