Jump to content

dakeweb

Members
  • Posts

    18
  • Joined

  • Last visited

Profile Information

  • Location
    Indianapolis
  • Activity
    Freelancer

Recent Profile Visitors

2,742,444 profile views

dakeweb's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hello, I am trying to change the color of the background of images on both product detail and product list pages. I am using 1.6.0.9 default theme. Images are cropped and a white background is shown. I edited the background of the image block in product.css as noted below: /* .pb-left-column ***************************************************************************** */ .pb-left-column #image-block { position: relative; display: block; cursor: pointer; padding: 5px; border: 1px solid #dbdbdb; background: white; } @media (max-width: 767px) { .pb-left-column #image-block { width: 280px; margin: 0 auto; } } Changing the bolded bacckground line gave me a slight border around the entire image with the desired color. However the rest of the image block is white. I am getting the impression this is not a background of product.css (and therefore not in product-list.css) but more a setting for what color is behind an image in general. I could be wrong, though. There is a topic here marked as solved: http://www.prestashop.com/forums/topic/268875-solved-prestashop-image-cropping-background-change-white-color/ However, the ultimate "solution" is to use only one size image to prevent cropping. This is not really a great solution, so I am hoping someone can help me specify a color in place of that white. I could use a color matching the background and I will be good to go. I am sure others will benefit from this as well. Many thanks in advance for any help!
  2. Hello, I am trying to find a way to change the color of the orange warning box most commonly seen when an item is out of stock. The text for this box is 'This Product Is No Longer In Stock'. I have changed the text by editing the product.tpl in the theme directory. I just cannot find where to appearance of the box itself. I understand the color of this box is probably controlled in one location for every orange warning box. My desire is to change the color of all orange boxes to a different color to match my theme. Any help would be appreciated as always. Thank you in advance!
  3. I found it in backoffice - localization. The section was collapsed and therefore was not located when searching the page for the word "sign". Stupid mistake on my part. Thank you to both for the good advice!
  4. Are you using the default template? If so are you trying to make this change with your module installed? This fix assumes no special modules and the default theme? If you are using the defaults and the change is not working I can only assume you've made a mistake. I suggest using the strategy of crating values for attriubtes for "null" and setting the combination to be out of stock. That coupled with disallowing ordering order of items not in stock will prevent users from adding the item to the cart with the default attributes.
  5. OK - I was butting up against problems with my PHP configuration preventing me from loading the suggested 'Translations' page. Once I finally got in I was disappointed to find there was no option for 'Sign In' or anything close to it under Installed Modules > Core/default bootstrap (my current theme). I think I've checked every translation page at this point. Any other suggestions? I am very open to editing a file - I just have had no luck in locating the right one. Many thanks.
  6. Vekia, Thank you for your reply. This makes sense. I do not know where I would edit the php.ini file. I am hosted on cPanel with a hosting reseller package - so I have most, but not entire control of the environment. I am not even sure yet if I will be able to edit the php instance at that level I am not well experienced at this depth yet (but learning more every day). I recognize my trouble here is getting outside the scope of the Prestashop forum, however, so I will not cloud up this thread with troubleshooting that is off-topic. I will take the info you've given me here and try to figure out what direction to head. I will start by contacting my provider. Thank you again for your help! EDIT:: I talked to my provider and they pointed me to some procedures on editing the php configuration. My problem is solved thanks to you pointing me in the right direction. Thank you!!
  7. Hello - I have this problem as well and am encountering another problem when editing my .htaccess. After adding the suggested line "php_value max_input_vars 3000" to .htaccess under the store's root directory I begin receiving an internal server error 500. I have added this at the very beginning of the file, the very end, and in numerous positions in between - all failing with the same symptom. Thank you in advance for any assistance.
  8. Please disregard my other question. Part of the fix we were working toward was to create "null" or "Please select a..." values for each attribute and make the null values the default combination for the items. Obviously, there is 0 quantity in-stock of these bogus combinations, so using the option to disable ordering when quantity is 0 solved my problem. The 'add to cart' button is disabled because the default combinations of "null" value attributes will never have stock. Thanks again, Cristic! I think this is the most elegant solution I could have hoped for. I really appreciate your help.
  9. Cristic, Thank you so much for that wonderful solution! This works beautifully and is exactly what I was looking for. I would love to buy you a drink for your efforts - I wasn't joking! PM me with a paypal ID or something similar and I will be happy to send something your way. One other thing I just realized - the user can click 'add to cart' when seeing only the preview of the item. I would like to leave this as an option since some things don't have any attributes to select. But I would like to generate the same pop-up if a user clicks 'add to cart' via a preview box on an item that has size/color. I imagine this would be accomplished by using the same if/then function to check the status of the variable we created in another .js file. Is this correct and, if so, what file would I need to edit the 'add to cart' on the preview boxes? Thank you again!
  10. Cristic, You are correct - the reason the prestashop change does not solve my issue entirely is because the user could click "add to cart" and not know that they were ordering the wrong size/color. I made the changes as you suggested but saw no change in behavior. I am not sure exactly what the changes are to accomplish. If there is something else I am supposed to add I am not following. I apologize for my ignorance here. A pop-up that could tell if something was added to the cart without the attribute values being changed would work for what I am trying to accomplish. What would be even better would be a combination that is unavailable (as I believe you were suggesting above). I would make this unavailable combination the default and give it null values. Hopefully I am expressing myself clearly. I really appreciate your assistance here. If you can help me get this working I would love to reward you with a small token of my appreciation - maybe a loaded pre-pay card to buy you a much deserved drink!
  11. Thank you for that suggestion, cristic. In looking into the problem further I have discovered a kink in my reasoning. In this version of prestashop, any product with combinations must have a default combination selected. Unless defined further, this combination becomes the top-most value of each attribute which, in my case, is the lowest numeric size and/or the first color listed alphabetically. If I must have a default combination, I would need that combination to be both meaningless and not allowed to be added to the cart. So, I am thinking I should make a value for each attribute that is the equivalent to "unselected". I would have a value of "Unselected" for "Size" and "Color" and "Pattern" etc... I would make the combination of "unselected" for size and color/style the default combination. Then I would need something to check the item when "Add to cart" is clicked to see if the product's default combination is the one selected for adding to the cart and, if so, generate the pop-up and not actually add the product to the cart. Your solution would work beautifully if prestashop had continued to make the default option for a attribute to be "unselected" or null rather than the first value available for the attribute. My apologies for starting with a request that was functionally impossible.
  12. Hello, I am looking for a solution to require a user to select product attributes. I need them to not be able to add a product to the cart until attributes have been selected. A javascript function to alert the user when they have not selected attributes has been used as a solution in the past. See the link below... However, this fix does not work with the most recent software version. This is also a less desirable solution. If the popup warning is the only option, that is understandable. But I could not find a function that works with the most recent prestashop version. A working version of that would be great, but I think the aability to make attribute selections required would be a pricelss addition to he software. This is being used in a clothing shop. Their is no real default in the case of clothing, obviously. Many thanks for any help. EDIT: I forgot to include the aforementioned link: http://www.prestashop.com/forums/topic/150009-required-attribute-selection/?hl=+default%20+attribute
  13. Good evening. I am trying to edit the text of the header button "Sign in". I would like to make this "Sign in or Register" I've had no luck changing this in translations nor have I found the file containing this button. Could anyone point me in the right direction of the file containing this button? Thanks in advance for any assistance.
×
×
  • Create New...