Jump to content

C.Perez

Members
  • Posts

    63
  • Joined

  • Last visited

C.Perez's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. A ver... creo que eh cometido un gran error al estar dandole duro al prestashop sin saber realmente si se podria integrar con wordpress... Vamos como lo tengo aqui : http://www.phototrendi.com/tienda/ que al darle al link que dice "blog" justo arriba de la busqueda... integra perfectamente el wordpress... (esta instalacion es con magento y la extension gratuita de fishpig.).. En prestashop puedo hacer eso ?? que me deje mi header pero cargue todo lo del blog. ?? y a su vez si un cliente esta logeado al sistema (prestashop) pues el wordpress ya no le pida nombre.. (aunque esto no es tan importante para mi) peroo si es importante el poder cargar wordpress de esa manera "transparente"
  2. Hola pues quisiera ver si me pudieran su opinion en cuanto al color que estoy utilizando en "añadir al carrito" http://www.phototrendi.com/5-estudio-iluminacion ustedes como consideran la combinacion de colores.. O que color sugeririan ?? Les agradesco su opinion..
  3. Sale, muchas gracias, suerte !! ahora solo resta encontrar como hacerle para que ponga de 3 en 3 y que el ultimo producto no lo deje cortado !! ya eh remplazado la funcion que me has dicho en todos los apartados que tenia el >5 lo cambie a >3 y sigue mostrando 7.. No lo dare solucionado aun el tema pues resta encontrar eso del numero de desplegados y que los despliegue correctamente..
  4. mmmm ya no entiendo nada... Me podrias explicar que a pasado ??? active el tema defaul, ahi si funciona, active otro que tengo tipo default y tambien funciono.. volvi a poner el mio y ahora ya funciona !!! Que diablos pudo haber pasado ajajaja ??
  5. Si en la default si funciona.. la duda es como hacerlo funcionar en la que estoy trabajando
  6. Mi plantilla no tiene css/modules/productscategory/ unicamente tiene la de CSS , los otros directorios los eh creado manualmente y ya puse ahi el archivo que me has dicho, y todo sigue igual.
  7. Ya subi ese modulo a /modulos de mi tema.. y observa lo que paso porcierto mi modulo no permite tanta modificacion.. miralo aqui http://farm8.staticflickr.com/7104/7356380852_b2a1b2abde_o.jpg es el 1.3
  8. nevermind.. I just drop the idea.. cuz changing that button is beyond my skils.. because if i display the image in "add to cart" also on the checkout button is replaced.. And I dont know how to make a new rule or property lol... What i will like a lot is to add on top of my actual button, some icon...but again I don't know how to insert a new image on my theme, take a look at my site www.phototrendi.com , I'm almost done. only estudio e illuminacion (category) has products right now..
  9. Sinceramente no me gusta estar abriendo un tema por cada duda... Pero asi son las reglas aqui. Bueno como se le puede hacer para que los productos de la misma categoria tengan scroll.. http://www.phototrendi.com/reflectores/reflector-triangular-60cm.html En el Firefox me muestra 4 y uno abajo... en explorer igual, y en chrome me muestra 5 alineados, pero ya hasta el tope.. Y aqui quiero que unicamente muestre 3 y el cliente pueda hacer scroll.. Como se haria esto ??
  10. Ya lo solucione siguiendo lo que comentan aqui http://www.prestashop.com/forums/index.php?/topic/97933-display-original-price-on-sale-item-product-listtpl/page__view__findpost__p__671407
  11. Lo que estoy viendo es que mi product-list originalmente ya esta modificado por la plantilla que estoy usando.. Este es el codigo que tengo yo.. {if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}<span class="on_sale">{l s='On sale!'}</span> {elseif isset($product.reduction) && $product.reduction && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}<span class="discount">{l s='Reduced price!'}</span>{/if} {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}<span class="price">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span><br />{/if}
  12. Gracias Ya lo vi.. pero al incluirle el {convertPrice price=$product.orderprice} Ya no me muestra el listado..
  13. el link que se menciona en varios posts http://vidaphp.com/2...prestashop-1-4/ para agregar al listado de productos el precio tachado no funciona.. Algun otro enlace que si ?? como es posible que cosas tan elementales como estas, uno tenga que modificar el codigo !! Si pones algo en rebaja es obvio que quieres que salga tanto en productos destacados, listadados,etc...
  14. si te refieres al unsuscribe.php que esta en raiz. es este include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/modules/newsletteradmin/functions.php'); include(dirname(__FILE__).'/header.php'); $filename = 'UNSUBSCRIBE'; echo "<div style='background:khaki'><br/>"; echo "<h3> ".trans('Your newsletter subscription')."</h3><p> </p>"; $nu = new NewsLetterUpdater(); echo "<fieldset><p>"; echo $nu->newsletterRegistration(); echo "</p></fieldset><br/>"; echo ' <form><input type="submit" name="back" value="OK" onclick="self.location.href='.__PS_BASE_URI__.'" class="button" /></form></br> '; echo "</div>"; include(dirname(__FILE__).'/footer.php'); class NewsLetterUpdater { private function isNewsletterRegistered($customerEmail) { if (Db::getInstance()->getRow('SELECT `email` FROM '._DB_PREFIX_.'newsletter WHERE `email` = \''.pSQL($customerEmail).'\'')) return 1; if (!$registered = Db::getInstance()->getRow('SELECT `newsletter` FROM '._DB_PREFIX_.'customer WHERE `email` = \''.pSQL($customerEmail).'\'')) return -1; if ($registered['newsletter'] == '1') return 2; return 0; } public function newsletterRegistration() { global $currentIndex, $cookie; if (empty($_GET['email'])) header('Location: index.php'); if (!Validate::isEmail(pSQL($_GET['email']))) return trans('Invalid e-mail address').'.'; /* Unsubscription */ elseif ($_GET['action'] == '1') { $registerStatus = $this->isNewsletterRegistered(pSQL($_GET['email'])); if ($registerStatus < 1) return trans('This e-mail address').' (<b>'.$_GET['email'].'</b>) '.trans('is not registered in our database').'.'; /* If the user ins't a customer */ elseif ($registerStatus == 1) { if (!Db::getInstance()->Execute('DELETE FROM '._DB_PREFIX_.'newsletter WHERE `email` = \''.pSQL($_GET['email']).'\'')) return trans('Error during unsubscription').'.'; Mail::Send(intval($cookie->id_lang), 'unsubscribe_conf', Mail::l(trans('Unsubscribe our Newsletter')), array('{email}' => $_GET['email']), pSQL($_GET['email']), NULL, NULL, NULL, NULL, NULL, _PS_MODULE_DIR_.'blocknewsletter/mails/'); return trans('You are now unsubscribed from our mailing list').'. '.trans('Your e-mail').' (<b>'.$_GET['email'].'</b>) '.trans('has been removed from our database').'. </br> '.trans('A confirmation mail has been sent').'.'; } /* If the user is a customer */ elseif ($registerStatus == 2) { if (!Db::getInstance()->Execute('UPDATE '._DB_PREFIX_.'customer SET `newsletter` = 0 WHERE `email` = \''.pSQL($_GET['email']).'\'')) return trans('Error during unsubscription').'.'; Mail::Send(intval($cookie->id_lang), 'unsubscribe_conf', Mail::l(trans('Unsubscribe our Newsletter')), array('{email}' => $_GET['email']), pSQL($_GET['email']), NULL, NULL, NULL, NULL, NULL, _PS_MODULE_DIR_.'blocknewsletter/mails/'); return trans('You are now unsubscribed from our mailing list').'. '.trans('Your e-mail').' (<b>'.$_GET['email'].'</b>) '.trans('has been removed from our database').'. </br> '.trans('A confirmation mail has been sent').'.'; } } /* Subscription */ elseif ($_GET['action'] == '0') { $registerStatus = $this->isNewsletterRegistered(pSQL($_GET['email'])); if ($registerStatus > 0) return trans('This e-mail address').' (<b>'.$_GET['email'].'</b>) '.trans('is already registered').'.'; /* If the user ins't a customer */ elseif ($registerStatus == -1) { global $cookie; if (!Db::getInstance()->Execute('INSERT INTO '._DB_PREFIX_.'newsletter (email, newsletter_date_add, ip_registration_newsletter, http_referer) VALUES (\''.pSQL($_GET['email']).'\', NOW(), \''.pSQL(Tools::getRemoteAddr()).'\', (SELECT c.http_referer FROM '._DB_PREFIX_.'connections c WHERE c.id_guest = '.(int)($cookie->id_guest).' ORDER BY c.date_add DESC LIMIT 1))')) return trans('Error during subscription').'.'; return trans('You are now subscribed to our mailing list').'. '.trans('Your e-mail').' (<b>'.$_GET['email'].'</b>) '.trans('was added to our database').'.'; } /* If the user is a customer */ elseif ($registerStatus == 0) { if (!Db::getInstance()->Execute('UPDATE '._DB_PREFIX_.'customer SET `newsletter` = 1, newsletter_date_add = NOW(), `ip_registration_newsletter` = \''.pSQL($_SERVER['REMOTE_ADDR']).'\' WHERE `email` = \''.pSQL($_GET['email']).'\'')) { return trans('Error during subscription').'.'; } return trans('You are now subscribed to our mailing list').'. '.trans('Your e-mail').' (<b>'.$_GET['email'].'</b>) '.trans('was added to our database').'.'; } } } } ?> jajajaj olvidalo... ya vi la linea !! al ponerlo aqui salto tantas lineas ya me tienen ciego !!
×
×
  • Create New...