Jump to content

Cyburg

Members
  • Posts

    21
  • Joined

  • Last visited

Profile Information

  • Location
    Lutterworth, UK
  • Activity
    Other

Recent Profile Visitors

442 profile views

Cyburg's Achievements

Newbie

Newbie (1/14)

4

Reputation

2

Community Answers

  1. Hi Ndiaga, That's awesome, looking forward to hearing from you.. Cheers, Paul
  2. Hi all, We sell custom cut timber products, and we are getting swamped with small cutting orders which are not profitable. We would like to add a surcharge to orders which contain custom cut timber products. More specifically we would like to add a fixed surcharge to the customers order, when the value of the products they have ordered from a specific category fall below a certain value (in this case £250). If anyone knows of a module that can achieve this, we would be most grateful. Many thanks and best regards, Paul
  3. You'll probably not get much help here, especially with this very well known problem that has been around for ages, but no one ever can be bothered to address properly... I would try using https://thirtybees.com
  4. I am becoming increasingly frustrated with trying to get two "official" payment modules working, one of those being the PayPal module. For now I am patiently waiting on a reply from the developer; as soon as my support thread apparently became challenging the replies stopped coming. I have been polite and patient throughout the support request, but now my messages are not being answered. I get the feeling that the only way to get some satisfaction here is to complain to PayPal themselves (and the second payment processor I am having problems with) about the way their brand is being devalued by non-working modules. Furthermore, PayPal should know that its long time loyal customers (such as ourselves) are no longer able to use their service, as a direct result of these "official" modules that simply do not work. Hopefully then PayPal will use their contractual leverage with Prestashop to ensure that these substandard modules are made to be functional. Rant over, time to draft an email for PayPal.......
  5. Okay, problem was missing shop ID in the default CMS category database record (it was set to zero)...
  6. Hi all, When I look at the configuration page for the Top Horizontal Menu, there are no CMS objects in the list for me to add to the menu, despite the fact that we do have CMS pages and categories created. Does anyone have any ideas as to why this may be happening? I have tried resetting the module, uninstalling and reinstalling the module, but I cannot get it to work. Cheers, ​Paul
  7. $Cart = $this->context->cart; $Cart->updateQty(10, 3, null, false); Thanks for all the help guys.......
  8. If I try this from my controller file: $Cart = $this->context->cart; print_r($Cart); I can see the cart object is accessible: Cart Object ( [id] => 12 [id_shop_group] => 1 [id_shop] => 1 [id_address_delivery] => 0 [id_address_invoice] => 0 [id_currency] => 3 [id_customer] => 0 [id_guest] => 131 [id_lang] => 1 [recyclable] => 0 [gift] => 0 [gift_message] => [mobile_theme] => 0 [date_add] => 2016-09-26 10:32:35 [secure_key] => [id_carrier] => 0 [date_upd] => 2016-09-26 16:31:04 [checkedTos] => [pictures] => [textFields] => [delivery_option] => [allow_seperated_package] => 0 [_products:protected] => [_taxCalculationMethod:protected] => 1 [webserviceParameters:protected] => Array ( [fields] => Array ( [id_address_delivery] => Array ( [xlink_resource] => addresses ) [id_address_invoice] => Array ( [xlink_resource] => addresses ) [id_currency] => Array ( [xlink_resource] => currencies ) [id_customer] => Array ( [xlink_resource] => customers ) [id_guest] => Array ( [xlink_resource] => guests ) [id_lang] => Array ( [xlink_resource] => languages ) ) [associations] => Array ( [cart_rows] => Array ( [resource] => cart_row [virtual_entity] => 1 [fields] => Array ( [id_product] => Array ( [required] => 1 [xlink_resource] => products ) [id_product_attribute] => Array ( [required] => 1 [xlink_resource] => combinations ) [id_address_delivery] => Array ( [required] => 1 [xlink_resource] => addresses ) [quantity] => Array ( [required] => 1 ) ) ) ) ) [id_shop_list] => [get_shop_from_context:protected] => 1 [table:protected] => cart [identifier:protected] => id_cart [fieldsRequired:protected] => Array ( [0] => id_currency [1] => id_lang ) [fieldsSize:protected] => Array ( [secure_key] => 32 ) [fieldsValidate:protected] => Array ( [id_shop_group] => isUnsignedId [id_shop] => isUnsignedId [id_address_delivery] => isUnsignedId [id_address_invoice] => isUnsignedId [id_carrier] => isUnsignedId [id_currency] => isUnsignedId [id_customer] => isUnsignedId [id_guest] => isUnsignedId [id_lang] => isUnsignedId [recyclable] => isBool [gift] => isBool [gift_message] => isMessage [mobile_theme] => isBool [allow_seperated_package] => isBool [date_add] => isDate [date_upd] => isDate ) [fieldsRequiredLang:protected] => Array ( ) [fieldsSizeLang:protected] => Array ( ) [fieldsValidateLang:protected] => Array ( ) [tables:protected] => Array ( ) [image_dir:protected] => [image_format:protected] => jpg [def:protected] => Array ( [table] => cart [primary] => id_cart [fields] => Array ( [id_shop_group] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_shop] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_address_delivery] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_address_invoice] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_carrier] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_currency] => Array ( [type] => 1 [validate] => isUnsignedId [required] => 1 ) [id_customer] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_guest] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_lang] => Array ( [type] => 1 [validate] => isUnsignedId [required] => 1 ) [recyclable] => Array ( [type] => 2 [validate] => isBool ) [gift] => Array ( [type] => 2 [validate] => isBool ) [gift_message] => Array ( [type] => 3 [validate] => isMessage ) [mobile_theme] => Array ( [type] => 2 [validate] => isBool ) [delivery_option] => Array ( [type] => 3 ) [secure_key] => Array ( [type] => 3 [size] => 32 ) [allow_seperated_package] => Array ( [type] => 2 [validate] => isBool ) [date_add] => Array ( [type] => 5 [validate] => isDate ) [date_upd] => Array ( [type] => 5 [validate] => isDate ) ) [classname] => Cart ) [update_fields:protected] => [force_id] => ) But no matter what I do, I cannot seem to be able to update the cart with the products I want to push into it........
  9. Bit more information for you all in case anyone can help......... I have ajax-cart.js included in the head of my custom page, and I have a postProcess function in the controller file for that page which receives form data from my custom page. The form data contains product id's (for products already in the database), along with quantities. What I am looking for (without much success) is a solution for programatically adding those products to the shopping cart. We have the ajax cart enabled on the store, and I have tried adding these products to the cart using calls to: ajaxCart.add(...) and also: $Cart = $this->context->cart; $Cart->updateQty(...) Neither method seems to work for me. I am sure I am missing something really simple here, can anyone help please.....?
  10. Can anyone tell me how to add products to the cart programmatically from my custom controller file please (they are existing products in the database)? My custom controller file extends FrontController. I have seen a few posts on the forum about programmatically adding products to the cart, but I am having difficulty getting anything to work. I would be most grateful if anyone can provide some guidance. Cheers, Paul
  11. To hide the menu objects added by the CSS Editor module simply add the following to the end of your "admin/themes/default/css/admin-theme.css" file. Now I can be happy that none of our users can mess the store up by clicking things they shouldn't. I can understand the developer wants to make use of their free moduels to promote their other services, but putting links to these potentially disastrous features in such an easy to click place is a bit dumb. Cheers, Paul
  12. You assertion that those menu items are not standard Prestashop fare prompted me to do some digging....I believe these were put in place when I installed the free CSS editor module available here: https://dh42.com/free-prestashop-modules/ Cheers, Paul
  13. Hi tdr170, You would have thought it would be in that interface wouldn't you? But it isn't (please see attached screenshot). Any other suggestions from anyone as to how I remove these potentially dangerous links? Cheers, Paul
  14. Hi all, I would like to remove the red coloured "Install demo store" link in the admin menu, I am concerned that one of our staff may accidentally create havoc with it. Does anyone know how I can achieve that please? Cheers, Paul
  15. Hi Gonssal, Thank you for your reply. Yes, you have hit the nail on the head, that is exactly what I am trying to achieve. I have since seen a couple of modules that offer similar functionality (volume based material pricing), but I need to support a more complicated pricing model than either provide, so I am thinking I may have to roll my own code. Cheers, Paul
×
×
  • Create New...