Jump to content

Không đề giá sản phẩm thì làm thế nào?


nabi

Recommended Posts

From target_locked:
dkkqt - 29 December 2008 04:54 PM
@target_locked: Bạn sửa file tpl của module tương ứng homefeatured. TÌm đến dòng “l s=‘Add to cart’”.

Thanks bạn nhé.
Chính xác là xoá đoạn này trong file \modules\homefeatured\homefeatured.tpl
{if $allow_buy_when_out_of_stock OR ($product.quantity AND $product.quantity > 0) OR $product.allow_oosp}
{l s='Add to cart' mod='homefeatured'}
{else}
{l s='Add to cart' mod='homefeatured'}
{/if}

và trong file theme/your_theme/product.tpl

quantity == 0} style="display:none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p>

Link to comment
Share on other sites

Sao tớ vẫn không làm được bạn ơi. Tớ muốn một số sản phẩm đề giá, một số thì ghi là "giá thỏa thuận" hoặc không thì giá để trống bạn ạ. Nhưng ở đây giá tớ không để trống được mà nó toàn hiện là 0.000đ thôi

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...