Jump to content

aljon1234

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by aljon1234

  1. Did you check if category 5 really exist? maybe you are calling the wrong id number in the database of the category
  2. Instead of using this i tried $cat=$category->getProducts((int)Context::getContext()->language->id, 1, ($nb ? $nb : 8), "position"); $cat1=$category1->getProducts((int)Context::getContext()->language->id, 1, ($nb ? $nb : 8), "position"); $products = array_merge($cat,$cat1) ; this method is easier and the code is shorter .. thanks
  3. in my module homefeatured.php, i know how to specifically show a categories of homefeatured item like this $category = new Category(4, (int)Context::getContext()->language->id); my problem is i wanted to show all the catergories id like this $category = new Category(4, (int)Context::getContext()->language->id); $category = new Category(5, (int)Context::getContext()->language->id); $category = new Category(6, (int)Context::getContext()->language->id); $category = new Category(7, (int)Context::getContext()->language->id); .. so how will i do this? how can i show multiple categories item in the home page
  4. How can i combine 2 categories to show up? for example $category = new Category(ID_OF_YOUR_CATEGORY1, (int)Context::getContext()->language->id); + $category = new Category(ID_OF_YOUR_CATEGORY2, (int)Context::getContext()->language->id);
  5. I am having a problem on showing the best seller on my product view page.. when i transplant top-seller block on my home page it shows up without a problem,Now, My problem is i want the top-seller block view shown under my product details. is there a way to transplant in on the product page? i tried to transplant it to the product footer but it gives me an error notice.. pls help.. I want the output like this
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More