Jump to content

Sonia Margollé

  • Posts

  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

2,013 profile views

Sonia Margollé's Achievements

Jr. Member

Jr. Member (3/6)



  1. I'm really looking forward to this module. That's the only thing I think is lacking in PW
  2. @bernhard yeah I'm gonna use it for my next PW project. But I was interested in the vite setup for my other projects, like when I'm doing just basic html integration with no CMS, but I still want to use sass, have my css preprocessed, using js module ect. I don't want a BIG setup, doesn't use tailwind, just the basics for building my assets and browser-sync
  3. Hey @dotnetic, I would be really interested !! at least by an exemple of your configuration to use vite with PW.
  4. I don't understand, it says on the doc that all variables defined in _init.php should be available in the latte files. But I always get "undefined variable" ... it's the same result if the latte file is called with render or renderLayout I don't know what I missed ?
  5. @kongondo THANKS ! I spent so much time, I don't know how I didn't see this. !!
  6. Help. My shop was working fine on local, I pushed it to my OVH environment and I have big error with the paypal module. Both local and OVH are in php 7.4 with bcmath in it and with the latest version of Padloper. ( PHP Version 7.4.25 on the ovh ) When I'm in the admin, if I try to access the stripe payment provider settings, everything works fine. If I try to open the paypal payment provider page I have this error : require_once(): Failed opening required '/home/soniamar/www/work/APC-NEW/site/modules/Padloper/includes/render/../payment/PadloperPaymentPayPal/PadloperPaymentPayPal.php' (include_path='.:/usr/local/php7.4/lib/php') I checked and both the stripe folder and paypal folder seems to have the same rights. Same for the files. And that is the correct path. I don't understand why it's working for Stripe and not for Paypal T_T If I try if_file() with the path directly written I get "true". If I try it with __DIR__ . "/../payment/{$name}/{$name}.php" I get false. But the path is the same !! I logged the path, it's exactly the same path. If it's the stripe folder I have no problems at all.
  7. @kongondo Thanks ! Maybe saving the name of the shipping method and the delay (the between xx and xx days), or just an id that can help retrieving those infos. On the same topic, I hooked the getOrderCustomerSummary function to display the shipping address on the order page and not just the email and country. I made a biig kind of triple shop completely from scratch spanning a looots of years (you don't want to look at the code, I don't want to look at the code XD), but one thing I learned is : save everything and add description fields everywheeeere to add explanations for the clients for about anything in the shop. ?
  8. Sorry, me again. ^^" I just realised that the chosen shipping method is not visible in the backoffice in the order page. How can I add it ? The owner of the shop need to know how he need to send the products ? I would like to add some info on the confirmations pages (success for example) for the customer bases on the choice in shipping method, like display the shop address if they had decided to come retrieve the order at the shop. in order-complete.php, if I bd $order, I can only see the shipping fee, and no info on the shipping method
  9. I thought it was a good plan, but that doesn't work, when I click on 'Add new property' I have that error message "{"error":true,"message":"Field 'padloper_product_properties_repeater1757' is not applicable to this page"}" Instead, I can add an ordinary text input field to store the weight to the product variant template, that work ! and it will be cleaner ( so I don't have the color property ) Thanks a lot !
  10. I think I have a partial idea ! I still don't know the best and cleaner way to add the input field inside the form on the product page, but ... 1. Maybe I can hook the __addproduct function to alter the cart sql table to add like a "custom" field. And I modify the insert sql to populate the custom field 2. I add to the order template a tablefield field with columns like "product name", "custom field name", "value" 3. I hook the __ordersaved function to populate the tablefield field with the values of the "custom" field int the cart sql data. Still need to think of how to recuperate the value of the "custom" field. I need to create a function for that. ?
  11. I have products, posters, with variants, different supports (frame, not frame ect) and different format 30x30cm, 70x70cm ect ... Obviously the weight of the final product will be different if there is a frame or not, if it's big or small ect. There is a template for product variants so I can add the padloper properties field to it. I found a function "getOrderWeight" in "Padloper\includes\helper\PadloperUtilities.php", but it's not hookable right ? how can I modify it ?
  12. Thanks, Sorry I realise I wasn't clear at all, the product sold is cards for photoshoots. Like couple photoshoot, maternity photoshoot ect .. The photographers wants them to be customizable in case they are purchased as a gift. By client here I assume you mean the shop owner/admin? -> Here the client is the actual client. It's like the product was a t-shirt that can be customize with a name stiched on it. And you need to add a field to ask for that name. I think the best would probably be by using a custom field, I "just" need to find what hooks to use to have it save in the cart and the order
  13. Hi, In the shop I'm working on, for one type of product (gift card) I need to be able to ask the client to write the name of the recepient of the gift card. For another maybe ask If the user has some additional remarks... How can I do that ? by creating a property with no value and hooking somewhere to store the value of my input as the property value ? Is the property with dimensions ect is implemented yet ? I can't find an exemple with it even in the demo site. Thanks !
  • Create New...