Search found 1553 matches

Search found 1553 matches

Re: Issues with mail

With "all the emails" you mean order confirmation, alters, contact, etc?
What version are you running and what extensions have you installed?

Jump to post
  • Sun Jan 19, 2020 6:22 am
  • Replies 1
  • Views 85
Re: sort products by stock quanity

you are absolutely right except for "thats what backups are for".

Jump to post
  • Sat Jan 18, 2020 8:09 pm
  • Replies 5
  • Views 175
Re: Opencart V 3.0.3.2 Viewing quantity discount price on the category page

I do not know what you have in the product controller. I also do not know why you use %s in the first place when you output quantity, the text and discount price separately. %s in a string is used as a placeholder for the sprintf function as in $_['error_custom_field'] = '%s required'; sprintf($this...

Jump to post
  • Fri Jan 17, 2020 10:27 pm
  • Replies 8
  • Views 268
Re: Opencart V 3.0.3.2 Viewing quantity discount price on the category page

because you are not assigning the quantity or discount price to the string placeholders %s

Jump to post
  • Fri Jan 17, 2020 9:27 pm
  • Replies 8
  • Views 268
Re: reset product options after add to cart

suggest you explain what "reset product options" means.

Jump to post
  • Fri Jan 17, 2020 9:22 pm
  • Replies 6
  • Views 136
Re: Opencart V 3.0.3.2 Viewing quantity discount price on the category page

well, you map it

Code: Select all

$data['text_discount'] = '%s or more %s';
and you display it as such.

Code: Select all

{{ text_discount }}

Jump to post
  • Fri Jan 17, 2020 9:19 pm
  • Replies 8
  • Views 268
Re: Theme Refresh Cache Error

like:

Code: Select all

if (is_dir($directory) {
	if ((count(scandir($directory)) == 2)) rmdir($directory);
}

Jump to post
  • Fri Jan 17, 2020 9:15 pm
  • Replies 10
  • Views 160
Re: Theme Refresh Cache Error

that's why I said, add the check before that existing code.

Jump to post
  • Fri Jan 17, 2020 9:05 pm
  • Replies 10
  • Views 160
Re: How to add a Mp3 File to your shopping Chart

just make it a downloadable product, upload the file and add it as a download in the product links tab.
Note that those can only be ordered by registered customers as they get a download link in their account, guests cannot.

Jump to post
  • Fri Jan 17, 2020 9:04 pm
  • Replies 1
  • Views 55
Re: Theme Refresh Cache Error

That script first deletes all files in the directory before removing the directory itself. It could very well be that between getting the list of files to delete and actually deleting them, another file was added. Then when the script completes the file deletion list it tries to delete the directory...

Jump to post
  • Fri Jan 17, 2020 8:57 pm
  • Replies 10
  • Views 160
Re: Email Registration Whitelist

they are company email addresses, I am sure they all have xxxx@company.com so all you need is to check the domain no regex needed for that. but as stated, they don't want users have to "wait for accounts to get approved or added to the system" . So if the users cannot be bothered with the burdon of ...

Jump to post
  • Fri Jan 17, 2020 4:24 pm
  • Replies 6
  • Views 209
Re: Email Registration Whitelist

• email EQUALS example@example.com is nice but all is needed is to whitelist the company domain, not block individual email addresses (good luck with that) • firstname EQUALS John AND lastname EQUALS Doe is useless (block names, really?) • email LIKE support OR email LIKE sales OR email LIKE admin e...

Jump to post
  • Fri Jan 17, 2020 11:58 am
  • Replies 6
  • Views 209
Re: Show a PNG image when product weight is 0

Default the product weight is not mapped from the controller to the view so you would have to add that mapping first. $data['weight'] = $product_info['weight']; Then you can add the conditional display of your image to the view {% if weight == 0 %}{{ <img src="path/FreeShipping.png"> }}{% endif %} o...

Jump to post
  • Fri Jan 17, 2020 11:49 am
  • Replies 15
  • Views 341
Re: Email Registration Whitelist

first, this info is totally irrelevant. I am building a company store for a business with many locations and high turn over. and better formulate your requirement because only let users with a specific email address register accounts and login with their company email and place an order without havi...

Jump to post
  • Thu Jan 16, 2020 10:13 pm
  • Replies 6
  • Views 209
Re: Unable to wget

I would first check which extension is trying to download what and why using wget.

Jump to post
  • Thu Jan 16, 2020 10:04 pm
  • Replies 4
  • Views 1218
Re: Opencart V 3.0.3.2 Viewing discounts on the main page

that site displays a wholesale price, if you add a product to the cart and increase the quantity, you see the unit price decrease.
So kind of a quantity discount advertised as a wholesale price.

Jump to post
  • Thu Jan 16, 2020 10:01 pm
  • Replies 9
  • Views 426
Re: Opencart V 3.0.3.2 Viewing discounts on the main page

you can have multiple quantity discounts per product but default they only show in the cart not the product page.
You would have to code to retrieve the discounted price (wholesale on that site) or find an extension.

Jump to post
  • Thu Jan 16, 2020 8:35 pm
  • Replies 9
  • Views 426

Search found 1553 matches