FAQ Database Discussion Community


Woocommerce : Replace ' Product Categories ' by ' Short Description ' on Product Page

wordpress,wordpress-plugin,woocommerce,product
In the product page, each product has an image, and below two sub caption : the title and a link to the product categories. I'd like to replace this product categories field with the short description of the product. I had a look at every php file in the woocomerce...

Is there way in Shopify to categorize “Collections” in lists?

collections,tags,shopify,product,liquid
Say I want to show 2 different collection lists(just the titles with links to their relative pages) on 2 different pages in Shopify; is there a way in Shopify that can be done? As far as I can see, either I show all "Collections" on a page or none at...

How to specify what “list” the product was added to cart from? Enhanced Ecommerce

javascript,google-analytics,e-commerce,implementation,product
Trying to implement Google Analytics Enhanced Ecommerce tracking for my website. How to specify what "list" the product was added to cart from? Here is the standard tracking code for adding the product to basket: // Called when a product is added to a shopping cart. function addToCart(product) { ga('ec:addProduct',...

Uploading products from excel file

excel,import,e-commerce,product
I was wondering what is the best way of importing products into database. Product names have unique sku's. The Excel file may contain existing sku's. One way of doing import is: Read record from excel Check sku for existence in database table if already exists, update it or if not...

how to select query for product list in orders table sql

sql,select,product,orders
my tables: orders: id | date | customerid orderDetail: orderId | Quantity | productId and customer,product table. output: list of products exists in orderDetail; Example output: productname | customername | orderid | Quantity p1 | c3 | 4 | 5000 p2 | c2 | 1 | 1010 p3 | c5...

Display a specific form depending on the product category - Woocommerce and Contact Form 7 [closed]

wordpress,woocommerce,category,product,contact-form-7
I'm using Woocommerce and Contact Form 7, and I want to embed a specific form in the product description template, depending on the product's category. In other words, for every product under the category "Shoes", I want a specific form called "Contact Form Shoes" to be displayed in the description...

Magento rest api is giving only 10 products

php,api,rest,magento,product
I am using REST to call the Magento product list, but it is only showing 10 products instead of all of them. Could anyone guide because of what this problem may occur? This is the code I am using to call the rest api :- $url = 'magentohost url'; $callbackUrl...

Oscommerce display default product image and prevent it from deletion

image,set,default,product,oscommerce
I am working on an oscommerce project where i want to display default product image (i.e no image available) if product image is not uploaded.And even i want it to prevent from deletion.I have tried to upload product not available image for 2-3 products but when deleting products i.e final...

decrease the download size of an product image

magento,product
you can use inspect element to see product image source and download the images . the sizes of image are more than 400 kb. I want to reduce the size of the image. please help me to find solution. thanks in advance decrease the download size of an product image...

Product a scalar with a matrix in mathematica

matrix,wolfram-mathematica,product,scalar
I want to product a scalar with a matrix in mathematica. My codes are : w.P + (w^3).P P is a matrix and w is a scalar, but product gives scalar out of the matrix. Why?...

Greying out out-of-stock product variations (WooCommerce)

woocommerce,product
[EDIT: it actually works when adding the code in functions.php and omitting the changes in code WC files. Important: it only works when ONE attribute exists. However when there are 2 attributes (size & color for instance) then it doesn't work because it's not about out-of-stock variations anymore but about...

Listing Product Attributes in Alphabetical Order (Woocommerce)

php,wordpress,attributes,woocommerce,product
For starters thank you for taking a look / any assistance you may offer. I am trying to create a custom page template that creates a list in alphabetical order displaying all the results for a specific (Woocommerce) product attribute across my site. So in my case the product attribute...

Sum of outer products multiplied by a scalar in MATLAB

matlab,vectorization,product,outer-join
I would like to vectorize the sum of products hereafter in order to speed up my Matlab code. Would it be possible? for i=1:N A=A+hazard(i)*Z(i,:)'*Z(i,:); end where hazard is a vector (N x 1) and Z is a matrix (N x p). Thanks!...

Woocommerce Filter Product by Attribute

filter,attributes,woocommerce,product
I've been searching for many blogs and forum but this seems not yet answered yet. So i am trying to find a way how to filter product by attribute. I am using ajax to pull data and append it.The question is what will be the query to make a loop...

Shopfy accessing all products from a collection on the product page

collections,shopify,product,liquid
I'm using Shopify as my eCommerce platform. My customer has some products that are related to each other. But don't think of a typical related products system, basically these products have parts, and those individual parts can be reordered separate from the product itself. The client wants to list all...

SUMIFS function having a sum range as a product of 2 ranges, Array Formulas

arrays,excel,product,formulas,sumifs
I'm trying to minimize creating uneccessary tables in Excel, and instead of creating a table to multiply columns A and B, can I do it within the IF formula? Perhaps using Array formulas? I tried Ctrl + Shift + Enter to enter the following formula: SUMIFS($A$1:$A$10*$B$1:$B$10,$C$1:$C$10,"Value") however it did not...

Using schema.org/Product image on a non image element

seo,prestashop,product,schema.org,microdata
I am editing a Prestashop installation and have a slightly odd situation. In PS when you add a colour attribute to a product it shows an <a> tag with a background colour to show the colour choices. In the shop I am building for an art supplier, we are having...

Customizing the Image sizes on the home page in a Spree Application

image,paperclip,product,spree,ruby-on-rails-4.2
Guys How to change the image size for a particular product on the Home page Like in default images size is small(100 x 100) I want to increase the image size but how i couldn't get it!! please Help me out guys!!!

How to count product in this category?

mysql,count,product
How to count product in this category? TABLE CATEGORY category_id title lft rght parent level TABLE PRODUCT product_id category_id title DATA Table category |1|Electronics|1|16|0|0 |2|Televisions|2|7|1|1 |3|LCD|3|4|2|2 |4|PLASMA|5|6|2|2 |5|Players|8|15|1|1 |6|Mp3 players|9|10|5|2 |7|CD players|11|12|5|2 |8|DVD players|13|14|5|2 |9|Furniture|17|18|0|0 Table product |1|4|Plasma 1 |2|4|Plasma 2 |3|4|Plasma 3 |4|4|Plasma 4 |5|4|Plasma 5 |6|3|LCD 1 |7|3|LCD...

In Magento, what's the performance of extending the rest/products api, to retrieve the tags and attributes of the products in the returned list?

php,api,rest,magento,product
The only way I can think of doing it is to retrieve the products, and then in the script call the other APIs to retrieve the information I need, before finally returning the response. I'm still somewhat new to Magento, and this seems to be quite heavy on performance. Is...

Magento: Navigation static page directly to specific product

magento,static,navigation,product
I would like to add a static link at the navigation bar that can link directly to a specific product. My site: http://www.ecosa.com.au/ As I only have one product listing under category "pillow", I wish to set it to go into the product directly, skipping the catalog view. Product: http://www.ecosa.com.au/pillows/100-cotton-pillow.html...

How to display Woocommerce product price by ID number on a custom page?

wordpress,woocommerce,product
I'm trying to display a price of a product in Woocommerce, on a custom page. There is a short code for that, but it gives product price and also adds an "Add to cart button", I don't want the button, i just want to get the price of a specific...

call list of products into a block in magento

html,magento,product
I created a static block into my main page which is empty right now. What i want to do is load some products into it (with visible picture and product description). Currently i have this content in my static block: <div class="plist"> <div class="plist-title"> <p><strong>Rollen/R&auml;der - Aktionen</strong></p> </div> <div class="block-content">...

Having trouble multiplying two matrices

java,loops,matrix,product
Sorry,this is a homework problem. I am not good with maths, so I checked out some videos to understand how two matrices are multiplied. I came up with a formula, but I do not know what I am doing wrong? This question has been answered before, but I did not...

change custom product tab position in admin grid Magento

magento,tabs,position,admin,product
Hi i have added a new product tab in admin grid by following the below link http://inchoo.net/magento/how-to-add-custom-product-relations-in-magento/ Everything is working fine. BUt this has added the new tab at the last position in product edit section. Can you please suggest me how can i change the position of that tab....

How To check Product Have Variation in woocommerce

php,wordpress,woocommerce,product
Is there any way to check the product has variation something like Please help me. <?php If (product has variation) { echo"This Product have Variations "; } else { echo "This Product does not have Variations "; } ?> ...

for loop for scalar product with a matrix

r,loops,for-loop,matrix,product
I'm trying to fill a 10 x 1500 matrix with a loop. I have to fill that matrix with 150 small 10 x 10 matrixes. I have tried to implement this with a double loop, but unsuccessfully. My problem is that each 10*10 matrix is the result of a scalar...

opencart sort order for only a specific category

php,sorting,opencart,product
I have the default sort order for all categories by price low-high (p.date_added ASC) but for a specific category example "new products" I want the sort to be p.date_added DESC. In `catalog/controller/product/category.php I have: <?php class ControllerProductCategory extends Controller { public function index() { $this->language->load('product/category'); $this->load->model('catalog/category'); $this->load->model('catalog/product'); $this->load->model('tool/image'); if (isset($this->request->get['filter']))...