Jump to content
thirty bees forum

zen

Members
  • Posts

    421
  • Joined

  • Last visited

  • Days Won

    60

Everything posted by zen

  1. Il n'y aurait pas un plugin sur ta version de Firefox qui empêcherait certains scripts d'être chargés ou fonctionnels ?
  2. Not for sure but I can have a look, please give credentials if you want Also you can roll back your online website to TB 1.0.8 version, and try to sort it out on a dev version.
  3. zen

    Broken images

    I gave you my help in PV but you canceled it.. so what to do ?
  4. zen

    Broken images

    How to help somebody who knows better way..i Wonder ?..... Lucky that that your website is not in production for real
  5. zen

    Broken images

    Mark: "Ok so I need to know what the settings should be " Zen: The settings are all yours.. it depends on the result you want in your front office.
  6. zen

    Broken images

    seems like something is broken ... the url for the pic seems not correct : "/product/" should not be there or it is your root directory on the server for this website.. I doubt this. but the images path are good : https://product.solutions.org.nz/img/p/1/7/9/179.jpg this image on the exemple you provide does not exist : 194, so the repport you have when regenerate thumbnails is logic. But still now, your images settings are not correct.
  7. zen

    Broken images

    egos are boring.
  8. zen

    Broken images

    Nice... AND usefull !
  9. zen

    Broken images

    I do believe that everything can be fix.. otherwize I don't know what you think I believe... I just want to help this user on his particular case, that should not happen, but before fixing the core, this user needs specific help in his settings, and I'll provide this care if he accepts. I know images are harcoded, that's where the matter starts, Also there is way too much images sizes for produits... only 3 or 4 will be enough and will help to maintain an image directory light.
  10. zen

    Broken images

    If you want, I can fix that for you with BO Access, as u like 🙂
  11. zen

    Broken images

    Now you did this, your theme request this image : https://product.solutions.org.nz/194-community-theme-default_cart_default/remote-car-alarm-with-central-locking-and-engine-disable.jpg then you need this image setting : community-theme-default_cart_default, what size is it ? I don't know but it's should be square I guess. Also on the same page you need also this image : https://product.solutions.org.nz/98-home/3000-lumen-headlight-with-sensor-and-red-light.jpg and that is "home"
  12. zen

    Broken images

    datakick was right : you need "home" as a default image size, but it's not available on your settings, so it's not created, therefore you can't show them in front office. You need to edit the images config, and delete all images sizes wich are not used and estup one for "home" and others missing.. then regenerate thumbnails !
  13. zen

    Broken images

    Wich theme are u using right now on front office ? you can give the shop URL please ? In private if you prefer.
  14. it's not the problem if your setup is correct.. there is also the first selection for "never recompile TPL files"
  15. that's right, you have to check on the console the error log and post it here.. if you want us to be able to help you.
  16. you maybe have to clear the smarty cache then... otherwize : please give me the url of the page you have problem on.. and a screen shot will be also nice to have in order to help you on your precise case.
  17. this change can be integrated only if you take into account that not averybody want this to happen ... so remember the 2 points : new column or button to force it .
  18. Can't you read and understand the code ? mine is forcing to modifiy the default cat whenever you upload any csv product file. the one you show : DOES the same 🙂 But it checks if the default cat is already set or not before changing it if none is provided in the CSV file.
  19. For you only, because you know the results and it fits your needs, here is the modified code : // Will update default category with the first new one given. Home if no category at all. if (isset($product->id_category[0])) { $product->id_category_default = (int) $product->id_category[0]; } else { $defaultProductShop = new Shop($product->id_shop_default); $product->id_category_default = Category::getRootCategory(null, Validate::isLoadedObject($defaultProductShop) ? $defaultProductShop : null)->id; } et voilà... and if we have a button.. or the new column.. then the deleted IF condition will take car of it... So Simple ^^
  20. Like you said, you CAN use the csv to update infos.. but it's not really his purpose, the main goal for csv is to import products on an empty shop, then more options have been added, So you can do whatever you want for that, In my case, I update default cat by SQL queries, directly on phpmyadmin, so fast and so efficient, I don't bother using csv. On your github issue it resumes what I said to you : Solution 1 : Adding a column in import file with default value or Solution 2 : Create a checkbox in the form If this have been really usefull, and used by many.. this will have been done since a long time, but now you are the second to ask it, maybe it will be done soon.
  21. If your product is already setup, and you upload more infos... would you like theses previous infos to be deleted ?? I don't ! It will kill the shop for most of users. And When you give categories to add to your product, wich one is the default one ?? the first one ? the last one ?? the one in the middle maybe ?? or by cat ID ordered INC or DESC... who knows : So I tel you again this is not a BUG ! even if it doesn't suits your own needs on that case.. it the best for most users, now you can add one more column for DEFAULT CAT and update the script so it will assign that and remove the old one. Read the comments in the code, it's only logic.
  22. It is not a bug.. it is a functionnality 🙂 lol CSV import is good and doing what you want on the first import.. if your product has already a dafault category setup, the csv import will not update that default category assigned, if you want it different you have to change the code. On my opinion it is totally normal behaviour, better not delete the default category with csv... just adding more is better option I think, it will need maybe a new column to force default category ID to be setup and everybody will be happy then.. have to think about adding it to csv import system.
  23. in the community-theme-default, you'll have to edit "address.tpl" file starting line 103 {if $field_name eq 'postcode'} {assign var="postCodeExist" value=true} <div class="required postcode form-group unvisible"> <label for="postcode">{l s='Zip/Postal Code'} <sup>*</sup></label> <input class="is_required validate form-control" data-validate="{$address_validation.$field_name.validate}" type="text" id="postcode" name="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{if isset($address->postcode)}{$address->postcode|escape:'html':'UTF-8'}{/if}{/if}"> </div> {/if} {if $field_name eq 'city'} <div class="required form-group"> <label for="city">{l s='City'} <sup>*</sup></label> <input class="is_required validate form-control" data-validate="{$address_validation.$field_name.validate}" type="text" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{else}{if isset($address->city)}{$address->city|escape:'html':'UTF-8'}{/if}{/if}" maxlength="64" required> </div> {* if customer hasn't update his layout address, country has to be verified but it's deprecated *} {/if} {if $field_name eq 'Country:name' || $field_name eq 'country' || $field_name eq 'Country:iso_code'} <div class="required form-group"> <label for="id_country">{l s='Country'} <sup>*</sup></label> <select id="id_country" class="form-control" name="id_country" required>{$countries_list}</select> </div> {/if} {if $field_name eq 'State:name'} {assign var="stateExist" value=true} <div class="required id_state form-group"> <label for="id_state">{l s='State'} <sup>*</sup></label> <select name="id_state" id="id_state" class="form-control"> <option value="">-</option> </select> </div> {/if} and change it for that : {if $field_name eq 'city'} <div class="required form-group"> <label for="city">{l s='City'} <sup>*</sup></label> <input class="is_required validate form-control" data-validate="{$address_validation.$field_name.validate}" type="text" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{else}{if isset($address->city)}{$address->city|escape:'html':'UTF-8'}{/if}{/if}" maxlength="64" required> </div> {* if customer hasn't update his layout address, country has to be verified but it's deprecated *} {/if} {if $field_name eq 'State:name'} {assign var="stateExist" value=true} <div class="required id_state form-group"> <label for="id_state">{l s='State'} <sup>*</sup></label> <select name="id_state" id="id_state" class="form-control"> <option value="">-</option> </select> </div> {/if} {if $field_name eq 'postcode'} {assign var="postCodeExist" value=true} <div class="required postcode form-group unvisible"> <label for="postcode">{l s='Zip/Postal Code'} <sup>*</sup></label> <input class="is_required validate form-control" data-validate="{$address_validation.$field_name.validate}" type="text" id="postcode" name="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{if isset($address->postcode)}{$address->postcode|escape:'html':'UTF-8'}{/if}{/if}"> </div> {/if} {if $field_name eq 'Country:name' || $field_name eq 'country' || $field_name eq 'Country:iso_code'} <div class="required form-group"> <label for="id_country">{l s='Country'} <sup>*</sup></label> <select id="id_country" class="form-control" name="id_country" required>{$countries_list}</select> </div> {/if}
×
×
  • Create New...