Jump to content

yassination

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Location
    Nigeria
  • Activity
    Developer

yassination's Achievements

Newbie

Newbie (1/14)

7

Reputation

  1. I couldn't find any built-in Prestashop Smarty variable that will determine if a user is on a Mobile device or a desktop device, I decided to assign my own variable in FrontController.php at the end of the __construct() method. $this->context->smarty->assign('isMobile', $this->context->getMobileDevice()); and then in your template you can use it like this: {if $isMobile} <h1>Amazing</h1> {/if} Just in case someone else might needed and doesn't want to waste time looking around.
  2. What if I don't want certain part of my pages to load on mobile and I don't want to use bootstrap classes to hide them, I want to completely remove them on mobile. Is there any function in prestashop that can tell if a user is using a mobile device or a desktop device or should I implement my own custom functions?
  3. Thanks for your swift reply. I'm currently using Prestashop 1.6.0.6 and I was trying to use it in the header.tpl.
  4. But what if someone want to develop a mobile theme and not just customize your default theme to become responsive? how would you go about it? was this feature removed in Prestashop 1.6?
  5. Nemo1 and Vekia Thanks. I was using a third party module and for some reason when I created categories in eMagicOne Store Manager for Prestashop and then using prestashop backend to add related products they couldn't save so I deleted the category that I created in eMagicOne and re-created it using prestashop backend and everything is working again! So I believe that what might have caused my problem . Sorry, Another thing that might be completely unrelated to this question, What is the function of the nleft and nright fields in the category table? Thanks.
  6. Hello, I was trying to add related products to a product but they could not be added for a reason, however, I could add older product as related product but I could not add my new products as related products. How can I tackle this issue or how can I find the source of the problem? I'm using Prestashop 1.5.6 Regards...
  7. Hi, There's an issue in the installer for the alpha release at 56% 'Cannot install module "themeconfigurator" '. Please update the download link on http://www.prestashop.com/en/developers-versions Regards
×
×
  • Create New...