Jump to content

razaro

Global Moderators
  • Posts

    2,521
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by razaro

  1. You should open from folder themes/classic/templates/catalog file product.tpl and edit it so it have this code {** * 2007-2017 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2017 PrestaShop SA * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} {extends file=$layout} {block name='head_seo' prepend} <link rel="canonical" href="{$product.canonical_url}"> {/block} {block name='head' append} <meta property="og:type" content="product"> <meta property="og:url" content="{$urls.current_url}"> <meta property="og:title" content="{$page.meta.title}"> <meta property="og:site_name" content="{$shop.name}"> <meta property="og:description" content="{$page.meta.description}"> <meta property="og:image" content="{$product.cover.large.url}"> <meta property="product:pretax_price:amount" content="{$product.price_tax_exc}"> <meta property="product:pretax_price:currency" content="{$currency.iso_code}"> <meta property="product:price:amount" content="{$product.price_amount}"> <meta property="product:price:currency" content="{$currency.iso_code}"> {if isset($product.weight) && ($product.weight != 0)} <meta property="product:weight:value" content="{$product.weight}"> <meta property="product:weight:units" content="{$product.weight_unit}"> {/if} {/block} {block name='content'} <section id="main" itemscope itemtype="https://schema.org/Product"> <meta itemprop="url" content="{$product.url}"> <div class="row"> <div class="col-md-6"> {block name='page_content_container'} <section class="page-content" id="content"> {block name='page_content'} {block name='product_flags'} <ul class="product-flags"> {foreach from=$product.flags item=flag} <li class="product-flag {$flag.type}">{$flag.label}</li> {/foreach} </ul> {/block} {block name='product_cover_thumbnails'} {include file='catalog/_partials/product-cover-thumbnails.tpl'} {/block} <div class="scroll-box-arrows"> <i class="material-icons left"></i> <i class="material-icons right"></i> </div> {/block} </section> {/block} </div> <div class="col-md-6"> {block name='page_header_container'} {block name='page_header'} <h1 class="h1" itemprop="name">{block name='page_title'}{$product.name}{/block}</h1> {/block} {/block} {block name='product_prices'} {include file='catalog/_partials/product-prices.tpl'} {/block} <div class="product-information"> {block name='product_description_short'} <div id="product-description-short-{$product.id}" itemprop="description">{$product.description_short nofilter}</div> {/block} {if $product.is_customizable && count($product.customizations.fields)} {block name='product_customization'} {include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations} {/block} {/if} <div class="product-actions"> {block name='product_buy'} <form action="{$urls.pages.cart}" method="post" id="add-to-cart-or-refresh"> <input type="hidden" name="token" value="{$static_token}"> <input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id"> <input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id"> {block name='product_variants'} {include file='catalog/_partials/product-variants.tpl'} {/block} {block name='product_pack'} {if $packItems} <section class="product-pack"> <h3 class="h4">{l s='This pack contains' d='Shop.Theme.Catalog'}</h3> {foreach from=$packItems item="product_pack"} {block name='product_miniature'} {include file='catalog/_partials/miniatures/pack-product.tpl' product=$product_pack} {/block} {/foreach} </section> {/if} {/block} {block name='product_discounts'} {include file='catalog/_partials/product-discounts.tpl'} {/block} {block name='product_add_to_cart'} {include file='catalog/_partials/product-add-to-cart.tpl'} {/block} {block name='product_additional_info'} {include file='catalog/_partials/product-additional-info.tpl'} {/block} {block name='product_refresh'} <input class="product-refresh ps-hidden-by-js" name="refresh" type="submit" value="{l s='Refresh' d='Shop.Theme.Actions'}"> {/block} </form> {/block} </div> {block name='hook_display_reassurance'} {hook h='displayReassurance'} {/block} </div> </div> </div> <section class="clearfix"> {block name='product_tabs'} <div class="tabs"> <ul class="nav nav-tabs" role="tablist"> {if $product.description} <li class="nav-item"> <a class="nav-link{if $product.description} active{/if}" data-toggle="tab" href="#description" role="tab" aria-controls="description" {if $product.description} aria-selected="true"{/if}>{l s='Description' d='Shop.Theme.Catalog'}</a> </li> {/if} <li class="nav-item"> <a class="nav-link{if !$product.description} active{/if}" data-toggle="tab" href="#product-details" role="tab" aria-controls="product-details" {if !$product.description} aria-selected="true"{/if}>{l s='Product Details' d='Shop.Theme.Catalog'}</a> </li> {if $product.attachments} <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#attachments" role="tab" aria-controls="attachments">{l s='Attachments' d='Shop.Theme.Catalog'}</a> </li> {/if} {foreach from=$product.extraContent item=extra key=extraKey} <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#extra-{$extraKey}" role="tab" aria-controls="extra-{$extraKey}">{$extra.title}</a> </li> {/foreach} </ul> <div class="tab-content" id="tab-content"> <div class="tab-pane fade in{if $product.description} active{/if}" id="description" role="tabpanel"> {block name='product_description'} <div class="product-description">{$product.description nofilter}</div> {/block} </div> {block name='product_details'} {include file='catalog/_partials/product-details.tpl'} {/block} {block name='product_attachments'} {if $product.attachments} <div class="tab-pane fade in" id="attachments" role="tabpanel"> <section class="product-attachments"> <h3 class="h5 text-uppercase">{l s='Download' d='Shop.Theme.Actions'}</h3> {foreach from=$product.attachments item=attachment} <div class="attachment"> <h4><a href="{url entity='attachment' params=['id_attachment' => $attachment.id_attachment]}">{$attachment.name}</a></h4> <p>{$attachment.description}</p <a href="{url entity='attachment' params=['id_attachment' => $attachment.id_attachment]}"> {l s='Download' d='Shop.Theme.Actions'} ({$attachment.file_size_formatted}) </a> </div> {/foreach} </section> </div> {/if} {/block} {foreach from=$product.extraContent item=extra key=extraKey} <div class="tab-pane fade in {$extra.attr.class}" id="extra-{$extraKey}" role="tabpanel" {foreach $extra.attr as $key => $val} {$key}="{$val}"{/foreach}> {$extra.content nofilter} </div> {/foreach} </div> </div> {/block} </section> {block name='product_accessories'} {if $accessories} <section class="product-accessories clearfix"> <h3 class="h5 text-uppercase">{l s='You might also like' d='Shop.Theme.Catalog'}</h3> <div class="products"> {foreach from=$accessories item="product_accessory"} {block name='product_miniature'} {include file='catalog/_partials/miniatures/product.tpl' product=$product_accessory} {/block} {/foreach} </div> </section> {/if} {/block} {block name='product_footer'} {hook h='displayFooterProduct' product=$product category=$category} {/block} {block name='product_images_modal'} {include file='catalog/_partials/product-images-modal.tpl'} {/block} {block name='page_footer_container'} <footer class="page-footer"> {block name='page_footer'} <!-- Footer content --> {/block} </footer> {/block} </section> {/block} I just moved tabs block outside few divs. Also clear cache in Advanced Parameters > Performance.
  2. What is location of file you are editing ? You might have theme override in theme/modules/paypalusa/ ? Also you can post or PM your url.
  3. *google translate Provare ad abilitare la modalità di debug e vedere quale errore compare: https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/
  4. Could you post link to your website so we can check that ?
  5. Hi all this topic been cleaned and lot of posts hidden. Guys please use English only here. Try to respect forum rules and also try to respect bera_ramazan for posting module for free and offering support in English. Google translate can help but there must be some order. Sometimes translation from google is not clear, but you can use it before posting.
  6. Solution from 1.6 works also, sorry I did not mention. So just edit defines.inc.php in config folder to define('_PS_MODE_DEV_', true);
  7. Try to enable debug mode and see if any error message appears. https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/
  8. Hi From error message I see you have override of AdminCategooryController. that must be from some module. So try to rename that file to _AdminCategoryController.php and see if that helps. If issue is indeed in that override try to contact developer. P.S Please do not use all Caps in topic title (I have edited it)
  9. You need to check server error logs, maybe try to enable debug mode and see if there is more meaningful error. https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ Also check if there is in Orders some message for that particular order.
  10. After this post I payed attention to Best-Kit modules, and while searching for modules for clients did notice 3-4 modules that could be copy of existing. Saw few older from BelVg that have same features but with small modification and usually Best-Kit modules are $20 cheaper. That should really be investigated even that I know some modules can be done same way from different developers, still PrestaShop team have chance to check code of modules and compare.
  11. Truly there is extra {/if} maybe you deleted opening if tag or just some left over. Try maybe to delete {/if} around line 163-5 before short description. {/if} {if $product->description_short || $packItems|@count > 0} <div id="short_description_block">
  12. You have two {*} at lines 347 and 355 that are not needed. And way you have added that calendar is not best practice. That script maybe is causing issues too. But first try to remove those {*}.
  13. Well you have some work to do. But check existing modules that are available on github https://github.com/PrestaShop/ there are some free modules for learning like paypal, payplug, klarna... Also there is module generator at https://validator.prestashop.com/generator you can choose template Payment Module. It could help you out to start. Also check documentation http://doc.prestashop.com/display/PS16/Using+the+Context+Object for Context object that hold lot of information you may need like customer info, cart...
  14. Well follow error message and open themes/default-bootstrap/product.tpl file and check that line. If your theme is modified compare that file with original theme on similar lines.
  15. New website looks great, very clean design. good job on that. Just one word sound strange to me "eshop", Nintendo have eShop others e-shop, but not big deal
  16. @kylegap Do you have custom theme maybe ? Check then in your theme/modules/paypalusa/ folder if there is maybe standard.tpl. Theme could maybe override file. Also clear cache in Advanced Parameters > Performance.
  17. You can use that theme without any problems as 1.6.16 and 1.6.17 are patched versions so mostly some changes in core and back office.
  18. That topic is hidden was hidden because it did not follow forum rules. There is link though https://code.google.com/archive/p/activationbymail/downloads but it is for older version of PrestaShop, 1.5. Also note that module had some issues so use it with caution.
  19. Sorry to hear that. It looks really strange like all files have been deleted or moved. Do you have backups ?
  20. razaro

    API Key

    Nice some progress Check your CSV file in Notepad or any other text editor, and compare to one from documentation link I posted. see, it should have ; to separate fields and also have " " around all fields except numbers. Notice third field "1,2,3" that is one field with multiple values separated by , Also easier option would be before import to have , as field separator and some other character that separate multiple values in single field. And judging from your screenshot you do have , so try that in Import configuration. To automate process, well you will need custom solution. I think there are no free modules for that but you search a bit. And for paid modules check https://addons.prestashop.com/en/451-data-import-export for some general solution to imports CSV files but do ask developers about your case. Also that Store Commander for PrestaShop have 30 days trial. Some of those solutions may have already option to access product providers. For that you will use API key. Then those solutions have access to file, and may import it in xls format, so no need to transform to CSV. And if not included some custom code would be required for getting your products feed from supplier with API key.
  21. What version of PrestaShop do you have? Any custom module that interact with cart, discount or shipping ? And could you post part of code around line 3203 in file /home/xandreac/public_html/classes/Cart.php ? Check in Advanced parameters that overrides or modules are not disabled.
  22. razaro

    API Key

    In lot of cases if you have some API they do provide xls mainly but also CSV files also. So maybe try and ask, that could be available. And if you can open spreadsheet there should be option to export or just save as CSV with options to choose field separator. I advice to take first just few rows for test and when importing into PrestaShop do save column settings after you match them with fields in CSV file. Wish you luck with import. Kind regards Laza
  23. razaro

    API Key

    Hi Sharif Welcome to the forum and hope you find all solutions you need. I see that having just API key can be confusing, but will try to give you some options. If they give you API key there must be some documentation how to use that key. Try to explore their website, or just ask for some guidelines. And check if they maybe by chance have solution for commerce in general, but ideally for PrestaShop. If you want you can share company name. If not they with API key you probably have access to their product and a way to download list of products in CSV or Excel file format. With that file you could import product your self with CSV import option PrestaShop have http://doc.prestashop.com/display/PS16/CSV+Import+Parameters . But if you want to do that auto and every day for that you probably will have to use some of paid module, think there are few on official marketplace like this one https://addons.prestashop.com/en/data-import-export/20579-import-update-bulk-product-from-any-csv-excel-file-pro.html (note this is just example, have not used this module) or there is desktop software called Store commander that some people are using that have that as one of option. Regards Laza
  24. Hi and welcome to the forum. That is probably blockadvertising, so try to find it in back office Modules list and disable or change image. On other topic I advise you to check forum rules and best practices https://www.prestashop.com/forums/topic/394100-read-first-forum-rules-and-best-practices/ For example, this post is in wrong subforum but I will move it. And please do not write in all capital letter in topic title. To edit title use full editor and edit first post. And more importantly do give more info when posting like PrestaShop version, default or custom theme... And do not bump topics same day.
  25. Hi Welcome to the forum. For start you will use regular attributes and attributes group but for changing image parts like that check https://www.prestashop.com/forums/topic/47363-module-attribute-wizard-pro-create-unlimited-attributes-combinations-choose-frm-7-input-types/ and LAYERED IMAGES DEMO . Think there could be one or two similar modules but not sure for links. There are also couple of product customizing modules for phone cases, like https://addons.prestashop.com/en/combinaisons-customization/20275-printcase-custom-phone-case.html or couple you could find on codecanyon website. But before buying do test demos and ask developers for features.
×
×
  • Create New...

Important Information

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