Tag: hack virtuemart
Hacking the Virtuemart Search Engine
by saosangmo on Feb.03, 2009, under Joomla
As mentioned in an earlier post, I’m currently developing an e-commerce site for the company I work for. I toyed with the idea of writing it from scratch but thought I’d investigate some open source solutions first. I finally settled on a combination of Joomla! for the CMS (content management system) and Virtuemart for the shopping cart solution. The upshot of all this is that the majority of the work has been done for you. You then just have to bend it to your will! That’s not always an easy task though! Anyway, one downside to the Virtuemart shopping cart software is it’s search engine. It has what I consider to be three, rather large flaws: (continue reading…)
Fix lỗi trùng đường dẫn trong virtuemart 1.1.2-breadcrumbs duplicate
by saosangmo on Jan.16, 2009, under Joomla
updatee, để khắc phục lỗi pathway khi bạn tạo menu liên kết trực tiếp tới 1 category thì như sau:
mở
administrator/components/com_virtuemart/html/shop.product_details.php
Comment dòng 157 thành như sau:
// Set the CMS pathway (continue reading…)
//$vm_mainframe->vmAppendPathway( $pathway );
4 bước để tạo thêm 1 trường cho virtuemart
by saosangmo on Aug.25, 2008, under Open source CMS
STEP 1 ADDING FIELD INTO YOUR DATABASE
- First login in to your PHPmyAdmin account.
- Look for table “jos_vm_product” in your database. Click on the link.
Now you will get a new screen which contains all fields of this table.
Scroll down till you see the following screenshot (screenshot 1). (continue reading…)
Virtuemart hack – Hiển thị sản phẩm liên quan trong cùng 1 category
by saosangmo on Aug.12, 2008, under Nice Scripts, Open source CMS
Áp dụng cho Virtuemart 1.1, bản 1.0 chúng tôi chưa kiểm tra
Đặt vấn đề: bạn có rất nhiều sản phẩm trong shop và muốn đặt 1 sản phẩm (related products) bạn cần phải tìm kiếm rồi thêm vào sản phẩm đang soạn thảo và nữa là có cả tình huống phải mở sản phẩm cũ ra để thêm mới các sản phẩm liên quan vào. Vì vậy, việc này sẽ làm mất khá nhiều thời gian của bạn. Có một cách khá hay để hiển thị các sản phẩm liên quan tới sản phẩm hiện tại là hiển thị ngẫu nhiên các sản phẩm khách hàng đang xem đồng thời không làm ảnh hưởng tới các sản phẩm đã được bạn thêm sản phẩm liên quan vào rồi. (continue reading…)
