shiggidydog
Members-
Posts
28 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
shiggidydog's Achievements
Newbie (1/14)
7
Reputation
-
Display Attribute Quantities in the DropDown
shiggidydog replied to Minkiu's topic in Configuring and using PrestaShop
Does anyone have a solution for this in prestashop v1.6? I know that the database structure has changed. Not sure which version the original solution was for, but I'd like to have the inventory display next to the attribute name in the drop down. Does anyone have any ideas on how I can achieve this? Thanks!- 7 replies
-
- attributes
- combination
-
(and 3 more)
Tagged with:
-
Moved URL's but new URL redirects to old URL
shiggidydog replied to jkility's topic in General topics
Hi, I just had the same problem... not sure which host you're using, I'm currently using godaddy. In my case, I was moving my prestashop 1.5 installation from abc.com/shop to abc.com/oldshop/ keeping the same domain just changing the sub directory. I basically searched through all the forums and changed all the correct settings: 1) I changed the setting under ps_shop_url table 2) I changed the setting in ps_configuration table (had to scroll down quite a bit since it was like #200 something) 3) I changed the setting under settings.inc.php Even after all this, I kept getting an error with: "Warning: require(/home/content/16/9526416/html/shop/config/config.inc.php) [function.require]: failed to open stream: No such file or directory in /home/content/16/9526416/html/shop/index.php on line 58" As you can see it was still pointing at my original directory, even though everything had been changed. The solution for me was to go into my dashboard of godaddy (yours may be different since I'm still using their old version (not cpanel)) but i had to go under "system processes" and "end" the web service to have it restart. I assume it restarted Apache and caused it to reload the settings.inc.php file which then updated the value in memory. In short, if you're having an issue after already changing all the relevant values, don't forget to restart your web server (even if you're using a shared hosting, like I am) you still need to restart it. Hope this helps someone else since I didn't see the answer posted anywhere else. -
I'm working on adding features right now and the way I take it is as follows: The predefined value is listed and categorized in the layered navigation without any issues, just like everyone expects it would be. If you're importing a CSV excel file, you need to set the field as 0 in order to get the feature to be included in the navigation. The customized value (set equal to 1 if you're uploading a csv file) is used to add the information to the product page (i.e. when a customer clicks on a product from your listing of products and visits the dedicated page for that product) there is a field called "DATA SHEET" above the long description that lists out all the features (example: battery type: AAA battery, material: plastic, etc.) From my testing, the customized value will show on the product page but will not be categorized into the layered navigation module. So lets say you just wanted to add a customized unique feature, for example like a UPC bar code of 12345678 (where this feature is typically always unique for each product and will never be repeated on a different product, or repeated very rarely). You wouldn't want the user to have the option to filter by UPC code and see every single UPC code of every product you have in the layered navigation, it would be too much. In summary, the customized field allows a unique or rarely used entry to be attached to a product page to give the visitor more info about the product without being indexed. My guess is that it was purposefully coded this way for this particular scenario. Hopefully this helps someone else as it took me a few hours to figure all this out.
- 11 replies
-
Auth.net - Authorize.net Returned A Malformed Response, Aborted.
shiggidydog replied to qiherbs's topic in General topics
I have the same issue on the same version of 1.6.1 and authorize.net module version 1.5.7. I've also tried an older version of authorize.net's module of 1.5.2, which had the same issue. (The 1.5.2 module version works on my other prestashop install which is running 1.5.4.1) I did find something interesting. My new shop that is running version 1.6.1 i am trying to use my customer's authorize.net account (that's over 10 years old), where as my older version of 1.5.2 is using my own authorize.net account which was made about 5 years ago. After logging into my own authorize.net account, under Account/Settings, there is a section called "Transaction Response Settings" and an option called 'Transaction Version'. On my account, it lists my version as 3.1, where as on my customer's account it's listed as 3.0. I think that this may be what is causing the issue. The authorize.net module is only meant to work with version 3.1. Somewhere along the line, authorize.net updated their response format from 3.0 to 3.1 and changed the way their responses are formatted. My customer is going to upgrade the response format to 3.1 (just a drop down in her account), but she needs to make sure that it will not impact her existing website which is not running prestashop but another 3rd party solution. Not sure if her current framework will be able to handle the change to 3.1 so we are waiting to hear from her existing webmaster of whether it will work. Once we hear back, we'll update it to 3.1 and hopefully everything with my prestashop installation should work. I hope this helps you qiherbs! Let me know what your authorize.net response version is, maybe you can help solidify my thinking. Thanks!- 4 replies
-
- auth.net
- authorize.net
-
(and 2 more)
Tagged with:
-
max_input_vars 1000 [SOLVED]
shiggidydog replied to elektrozales's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
Took me a while to figure out the exact steps to get this to work. I'm using a godaddy shared Linux hosting account (Deluxe in case you were wondering) 1) I have multiple domain names as add on domains to my hosting account. The current domain that I am working on is not the primary domain on the hosting account, but an add-on which has it's own root folder in my file manager (ex. webroot/domain.com/) 2) I spent quite a bit of time dropping in php.ini as well as php5.ini into my domain's root folder with none of them working. Furthermore, I installed prestashop into "webroot/domain.com/shop/" which is where prestashops .htaccess file is located. 3) In order for me to get this to work i had to go back to my webroot folder (which is outside of my domain.com's root folder) and put my php5.ini there. Note: php.ini will not work 4) I then needed to go into my hosting account and click on "System Processes" then click the button "End Web" for my php5.ini file to take effect. And in case you were wondering which values I added to my php5.ini file... suhosin.post.max_vars = 4252; suhosin.request.max_vars = 4252; max_input_vars = 10000; That was it. I verified that the changes took place by using a phpinfo() file and everything now seems to work. Hope this helps someone! -
Hey guys, I wrote a script (webpage) for you that can get that done. I can easily customize it so that you can upload a csv file with the name of the product (ex. 10aug130001.mp4) and the hashtag. I can rename the product for you and also mark it as a virtual product. Please send me a pm and we can discuss on Skype if you're still needing this. This offer also goes out to you too djhs. Thanks!
-
Just to summarize for everyone... since not everyone may know which template to modify, you need to go under your base root of your prestashop installation directory and there is a folder called "pdf" which has a file called "invoice.tpl" My 1.5.4 version had the following code on line 128 (yours may vary so look for this line): <td style="text-align: left; width: 45%">{$order_detail.product_name}</td> Then replace with: <td style="text-align: left; width: 45%">{$order_detail.product_name} / {$order_detail.reference}</td> On another note: I had an issue with a long invoice that would go to a second page and that caused an error in the pdf. So instead I actually changed product reference to come first then product name and i separated them out into different columns. To make life easy I'll just copy my invoice.tpl file here for you to copy into invoice.tpl. Hopefully this helps someone else. {* * 2007-2013 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (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: * http://opensource.org/licenses/afl-3.0.php * 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-2013 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <div style="font-size: 8pt; color: #444">[/color] [color="#000088"]<table> <tr><td> </td></tr> </table>[/color] [color="#000088"]<!-- ADDRESSES --> <table style="width: 100%"> <tr> <td style="width: 15%"></td> <td style="width: 85%"> {if !empty($delivery_address)} <table style="width: 100%"> <tr> <td style="width: 50%"> <span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Delivery Address' pdf='true'}</span><br /> {$delivery_address} </td> <td style="width: 50%"> <span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Billing Address' pdf='true'}</span><br /> {$invoice_address} </td> </tr> </table> {else} <table style="width: 100%"> <tr>[/color] [color="#000088"] <td style="width: 50%"> <span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Billing & Delivery Address.' pdf='true'}</span><br /> {$invoice_address} </td> <td style="width: 50%">[/color] [color="#000088"] </td> </tr> </table> {/if} </td> </tr> </table> <!-- / ADDRESSES -->[/color] [color="#000088"]<div style="line-height: 1pt"> </div>[/color] [color="#000088"]<!-- PRODUCTS TAB --> <table style="width: 100%"> <tr> <td style="width: 15%; padding-right: 7px; text-align: right; vertical-align: top; font-size: 7pt;"> <!-- CUSTOMER INFORMATION --> <b>{l s='Order Number:' pdf='true'}</b><br /> {$order->getUniqReference()}<br /> <br /> <b>{l s='Order Date:' pdf='true'}</b><br /> {dateFormat date=$order->date_add full=0}<br /> <br /> <b>{l s='Payment Method:' pdf='true'}</b><br /> <table style="width: 100%;"> {foreach from=$order_invoice->getOrderPaymentCollection() item=payment} <tr> <td style="width: 50%">{$payment->payment_method}</td> <td style="width: 50%">{displayPrice price=$payment->amount currency=$order->id_currency}</td> </tr> {foreachelse} <tr> <td>{l s='No payment' pdf='true'}</td> </tr> {/foreach} </table> <br /> <!-- / CUSTOMER INFORMATION --> </td> <td style="width: 85%; text-align: right"> <table style="width: 100%; font-size: 8pt;"> <tr style="line-height:4px;"> <td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 10px; font-weight: bold; width: 15%">{l s='Reference' pdf='true'}</td> <td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 10px; font-weight: bold; width: 30%">{l s='Product' pdf='true'}</td> <!-- unit price tax excluded is mandatory --> {if !$tax_excluded_display} <td style="background-color: #4D4D4D; color: #FFF; text-align: right; font-weight: bold; width: 10%">{l s='Unit Price' pdf='true'} <br />{l s='(Tax Excl.)' pdf='true'}</td> {/if} <td style="background-color: #4D4D4D; color: #FFF; text-align: right; font-weight: bold; width: 10%"> {l s='Unit Price' pdf='true'} {if $tax_excluded_display} {l s='(Tax Excl.)' pdf='true'} {else} {l s='(Tax Incl.)' pdf='true'} {/if} </td> <td style="background-color: #4D4D4D; color: #FFF; text-align: right; font-weight: bold; width: 10%">{l s='Discount' pdf='true'}</td> <td style="background-color: #4D4D4D; color: #FFF; text-align: center; font-weight: bold; width: 10%">{l s='Qty' pdf='true'}</td> <td style="background-color: #4D4D4D; color: #FFF; text-align: right; font-weight: bold; width: {if !$tax_excluded_display}15%{else}25%{/if}"> {l s='Total' pdf='true'} {if $tax_excluded_display} {l s='(Tax Excl.)' pdf='true'} {else} {l s='(Tax Incl.)' pdf='true'} {/if} </td> </tr> <!-- PRODUCTS --> {foreach $order_details as $order_detail} {cycle values='#FFF,#DDD' assign=bgcolor} <tr style="line-height:6px;background-color:{$bgcolor};"> <td style="text-align: left; width: 15%">{$order_detail.reference}</td> <td style="text-align: left; width: 30%">{$order_detail.product_name}</td> <!-- unit price tax excluded is mandatory --> {if !$tax_excluded_display} <td style="text-align: right; width: 10%"> {displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl} </td> {/if} <td style="text-align: right; width: 10%"> {if $tax_excluded_display} {displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl} {else} {displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_incl} {/if} </td> <td style="text-align: right; width: 10%"> {if (isset($order_detail.reduction_amount) && $order_detail.reduction_amount > 0)} -{displayPrice currency=$order->id_currency price=$order_detail.reduction_amount} {else if (isset($order_detail.reduction_percent) && $order_detail.reduction_percent > 0)} -{$order_detail.reduction_percent}% {else} -- {/if} </td> <td style="text-align: center; width: 10%">{$order_detail.product_quantity}</td> <td style="width: 15%; text-align: right; width: {if !$tax_excluded_display}15%{else}25%{/if}"> {if $tax_excluded_display} {displayPrice currency=$order->id_currency price=$order_detail.total_price_tax_excl} {else} {displayPrice currency=$order->id_currency price=$order_detail.total_price_tax_incl} {/if} </td> </tr> {foreach $order_detail.customizedDatas as $customizationPerAddress} {foreach $customizationPerAddress as $customizationId => $customization} <tr style="line-height:6px;background-color:{$bgcolor}; "> <td style="line-height:3px; text-align: left; width: 60%; vertical-align: top">[/color] [color="#000088"] <blockquote> {if isset($customization.datas[$smarty.const._CUSTOMIZE_TEXTFIELD_]) && count($customization.datas[$smarty.const._CUSTOMIZE_TEXTFIELD_]) > 0} {foreach $customization.datas[$smarty.const._CUSTOMIZE_TEXTFIELD_] as $customization_infos} {$customization_infos.name}: {$customization_infos.value} {if !$smarty.foreach.custo_foreach.last}<br /> {else} <div style="line-height:0.4pt"> </div> {/if} {/foreach} {/if}[/color] [color="#000088"] {if isset($customization.datas[$smarty.const._CUSTOMIZE_FILE_]) && count($customization.datas[$smarty.const._CUSTOMIZE_FILE_]) > 0} {count($customization.datas[$smarty.const._CUSTOMIZE_FILE_])} {l s='image(s)' pdf='true'} {/if} </blockquote> </td> <td style="text-align: right; width: 15%"></td> <td style="text-align: center; width: 10%; vertical-align: top">({$customization.quantity})</td> <td style="width: 15%; text-align: right;"></td> </tr> {/foreach} {/foreach} {/foreach} <!-- END PRODUCTS -->[/color] [color="#000088"] <!-- CART RULES --> {assign var="shipping_discount_tax_incl" value="0"} {foreach $cart_rules as $cart_rule} {if $cart_rule.free_shipping} {assign var="shipping_discount_tax_incl" value=$order_invoice->total_shipping_tax_incl} {/if} {cycle values='#FFF,#DDD' assign=bgcolor} <tr style="line-height:6px;background-color:{$bgcolor}" text-align="left"> <td style="line-height:3px;text-align:left;width:60%;vertical-align:top" colspan="{if !$tax_excluded_display}5{else}4{/if}">{$cart_rule.name}</td> <td> {if $tax_excluded_display} - {$cart_rule.value_tax_excl} {else} - {$cart_rule.value} {/if} </td> </tr> {/foreach} <!-- END CART RULES --> </table>[/color] [color="#000088"] <table style="width: 100%"> {if (($order_invoice->total_paid_tax_incl - $order_invoice->total_paid_tax_excl) > 0)} <tr style="line-height:5px;"> <td style="width: 85%; text-align: right; font-weight: bold">{l s='Product Total (Tax Excl.)' pdf='true'}</td> <td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=$order_invoice->total_products}</td> </tr>[/color] [color="#000088"] <tr style="line-height:5px;"> <td style="width: 85%; text-align: right; font-weight: bold">{l s='Product Total (Tax Incl.)' pdf='true'}</td> <td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=$order_invoice->total_products_wt}</td> </tr> {else} <tr style="line-height:5px;"> <td style="width: 85%; text-align: right; font-weight: bold">{l s='Product Total' pdf='true'}</td> <td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=$order_invoice->total_products}</td> </tr> {/if}[/color] [color="#000088"] {if $order_invoice->total_discount_tax_incl > 0} <tr style="line-height:5px;"> <td style="text-align: right; font-weight: bold">{l s='Total Vouchers' pdf='true'}</td> <td style="width: 15%; text-align: right;">-{displayPrice currency=$order->id_currency price=($order_invoice->total_discount_tax_incl + $shipping_discount_tax_incl)}</td> </tr> {/if}[/color] [color="#000088"] {if $order_invoice->total_wrapping_tax_incl > 0} <tr style="line-height:5px;"> <td style="text-align: right; font-weight: bold">{l s='Wrapping Cost' pdf='true'}</td> <td style="width: 15%; text-align: right;"> {if $tax_excluded_display} {displayPrice currency=$order->id_currency price=$order_invoice->total_wrapping_tax_excl} {else} {displayPrice currency=$order->id_currency price=$order_invoice->total_wrapping_tax_incl} {/if} </td> </tr> {/if}[/color] [color="#000088"] {if $order_invoice->total_shipping_tax_incl > 0} <tr style="line-height:5px;"> <td style="text-align: right; font-weight: bold">{l s='Shipping Cost' pdf='true'}</td> <td style="width: 15%; text-align: right;"> {if $tax_excluded_display} {displayPrice currency=$order->id_currency price=$order_invoice->total_shipping_tax_excl} {else} {displayPrice currency=$order->id_currency price=$order_invoice->total_shipping_tax_incl} {/if} </td> </tr> {/if}[/color] [color="#000088"] {if ($order_invoice->total_paid_tax_incl - $order_invoice->total_paid_tax_excl) > 0} <tr style="line-height:5px;"> <td style="text-align: right; font-weight: bold">{l s='Total Tax' pdf='true'}</td> <td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=($order_invoice->total_paid_tax_incl - $order_invoice->total_paid_tax_excl)}</td> </tr> {/if}[/color] [color="#000088"] <tr style="line-height:5px;"> <td style="text-align: right; font-weight: bold">{l s='Total' pdf='true'}</td> <td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=$order_invoice->total_paid_tax_incl}</td> </tr>[/color] [color="#000088"] </table>[/color] [color="#000088"] </td> </tr> </table> <!-- / PRODUCTS TAB -->[/color] [color="#000088"]<div style="line-height: 1pt"> </div>[/color] [color="#000088"]{$tax_tab}[/color] [color="#000088"]{if isset($order_invoice->note) && $order_invoice->note} <div style="line-height: 1pt"> </div> <table style="width: 100%"> <tr> <td style="width: 15%"></td> <td style="width: 85%">{$order_invoice->note|nl2br}</td> </tr> </table> {/if}[/color] [color="#000088"]{if isset($HOOK_DISPLAY_PDF)} <div style="line-height: 1pt"> </div> <table style="width: 100%"> <tr> <td style="width: 15%"></td> <td style="width: 85%">{$HOOK_DISPLAY_PDF}</td> </tr> </table> {/if}[/color] [color="#000088"]</div>[/color] [color="#000088"]
-
I had the same problem, on a fresh installation. I have no idea what caused this issue, but to solve it, i unzipped the prestashop zip file into a new directory then copied: settings.inc.php img folder the current theme folder and all the modules that came with the theme (in my case was 3 different folders) I had to obviously rename my admin folder and delete the install folder. Lastly, I logged into the backoffice and went to preferences/SEO & URL to change my base_uri to my new directory. In my case I went from www.example.com/shop/ to www.example.com/shop2/ It worked for me, hopefully it helps you out too. I could delete my original shop directory and rename the shop2 to shop but I'm lazy.
-
View Attributes in Product-list
shiggidydog replied to m0tti's topic in Upgrading PrestaShop from a previous version
Tomer, I'm not claiming that you mislead me. I knew what the module did, and before when I only had one attribute, it worked great! I just didn't realize that when I added two or more attributes that it wouldn't auto filter it. I didn't mean to come off as harsh, but just trying to let people know that they will run into that same issue if they have many attributes. Is there anything wrong with publishing that information on your site? Maybe most people won't care but, it would have made me think twice before I purchased it, if I had known. I still probably would have bought it since there isn't another decent solution out there. -
How to bring product attribute selection in product-list page
shiggidydog replied to Gowtham's topic in Core developers
You can try this module: http://www.presto-changeo.com/en/attribute-modules/59-product-list-attributes.html But there was one drawback that I wish was published more clearly. If you have multiple attributes it does not auto filter out combinations that don't exist. For example: if you sell t-shirts with Small, Medium, Large sizes in colors Red, Green, and Blue. But you only offer Medium in Blue, (but small and large red, green, blue are offered) the customers will still be able to choose Medium in Red or Green and a message will display that says this combination does not exist. Imagine having many attributes with many combinations that do not exist, it will drive your customers crazy as it did mine. I really think that this should either have been built into the module or clearly explained before purchasing because it makes the module almost inoperable for many attributes. -
View Attributes in Product-list
shiggidydog replied to m0tti's topic in Upgrading PrestaShop from a previous version
I tried to add my review on presto-changeo.com of this module and they deleted my review. As such I am posting it here so that people are informed before they purchase the module since it is not clearly stated on the site. The module is good and does what it says, but there was one drawback that I wish was published more clearly. If you have multiple attributes it does not auto filter out combinations that don't exist. For example: if you sell t-shirts with Small, Medium, Large sizes in colors Red, Green, and Blue. But you only offer Medium in Blue, (but small and large red, green, blue are offered) the customers will still be able to choose Medium in Red or Green and a message will display that says this combination does not exist. Imagine having many attributes with many combinations that do not exist, it will drive your customers crazy as it did mine. I really think that this should either have been built into the module or clearly explained before purchasing because it makes the module almost inoperable for many attributes. -
Attributes like categories
shiggidydog replied to iticleonel.len's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
I think that this is what you need? http://www.prestashop.com/forums/topic/249806-solved-combinations-problem/